How do I convert a String into a Currency
The webservice that I am using delivers financial data as type String. In my Entity model I use the corresponding data type Currency. How do I convert the String type to a Currency type ?
parseFloat($object/attribute) as stated here to convert the string to a float. After that you could fill your currency with the float.