Thread: float()
View Single Post
  #27  
Old 08-17-2010, 10:13 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by Riot View Post
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..
Reply With Quote