Thread
:
float()
View Single Post
#
27
08-17-2010, 10:13 PM
WhiteDragon
Banned
Join Date: Feb 2007
Posts: 1,002
Quote:
Originally Posted by
Riot
In my opinion, the fact that float returns -1 on error makes less sense then "123str" returning 123.
GS2 doesn't have any error handling or NaN/undefined. I suppose 0 would be a softer fail.
Edit: Post 666
Last edited by WhiteDragon; 08-18-2010 at
02:36 AM
..
WhiteDragon
View Public Profile
View GraalOnline Profile
Find all posts by WhiteDragon