Parsing float string to int
Monkey Forums/Monkey Bug Reports/Parsing float string to int
| ||
I'm trying to parse Local x:Int = Int("3.4") It works under HTML5, but under Android, the code bails out. When I use Local x:Int = Int(Float("3.4")) it works. |
| ||
Monkey uses the platform string to int converters. IIRC Android bugs out on ill-formed strings. |