The problem is my API response returns orders[indexPath.row].price as a String. The string is actually a double value like 3.55973455234. I need to convert this value to something like 3.56 and display in UI label. I have been pulling my hair since morning to achieve this. Why is Swift so horrible at conversions?
cell.lblPayValue.text = orders[indexPath.row].price