I'm guessing this is one for Jean...
OK, so I'm using android native to return my item's "Price" as a string, and it returns it as "£1.50". I then use that string to display on my in-game menu.
Now to get this to a usable variable for GameAnalytics reporting, I'm having trouble.
If I use "Convert String to Float", I obviously get a "FormatException: Input string was not in the correct format" error.
So I then tried "Convert Formatted String to Float" (followed by "Convert Float To Lowest Currency Unit"), but I can't see to get a valid output, it's giving a lot of errors.
I've tried a few of the 'number styles', but haven't yet found anything that works. I tried 'Currency' and 'Allow Currency Symbols'.
I'm doing all of this on my android device, (as in Unity I can't get the returned values from Google Play), and I'm now at a loss.
Any ideas how to get from this string to an int in a format that GameAnalytics likes?