I'm getting the data from the api response
I decoded the data properly
then I assigned the values to tableview
cell
But I'm getting the warning
Cast from 'Double' to unrelated type 'String' always fails
how can I solve this , So that I can assign the double value to the UILabel and get my result
I tried this following code
var rate : Double
cell.priceOfVehicleLabel.text = details.rate as? String