Thread: 0.0
View Single Post
  #1  
Old 05-30-2009, 07:03 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
0.0

If a column in a table is set to the REAL datatype and you put the number 0 in, when you return this value back, you get a .0 at the end of it. Normally that would be fine but Graal doesn't see 0.0 as a number, it thinks it is text (0.1 or 1.0 though would be a number).

I would say this is a problem with the SQLite but in all honesty, why can't Graal see 0.0 as a number?

In all fairness to my namesake, I find this rather insulting.
__________________
Do it with a DON!

Last edited by zokemon; 05-30-2009 at 07:40 AM..
Reply With Quote