Float numbers

6 views
Skip to first unread message

Duncan McQueen

unread,
Sep 13, 2009, 3:52:05 PM9/13/09
to ins...@googlegroups.com
Is it correct that to get a float variable, you should check to make
sure it is a float and then do a getRaw? Other methods seem to strip
the decimal point.

Ed Finkler

unread,
Sep 13, 2009, 7:26:51 PM9/13/09
to ins...@googlegroups.com
I believe so, yes, but that's really a problem -- we shouldn't be
forcing people to do getRaw in a case like that, since it should be
possible to construct a whitelist regex for it. You could use getRegex
for now to avoid doing a getRaw, but if you want to offer a patch to
add a getFloat, that would be awesome too.

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funk...@gmail.com
Reply all
Reply to author
Forward
0 new messages