I have an array which contains this
"postage_cost" => $customer[total_shipping_cost]
when I use var_dump I get
["postage_cost"]=>
string(5) "34.54"
How can I declare that this is a float and not a string when making the array? I'm sending this array to a web service and I'm afraid there might be some data type confusion. The $customer result is from a MySQL request.