Problem with nonstandard field

Forum related to SQLite

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
maciejkaczkowski
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 06.09.2005, 19:10

Problem with nonstandard field

Post by maciejkaczkowski »

Problem appears when I use internal functions or expressions and result is a number with decimal separator:

Code: Select all

SELECT SUM(1.0) fld
or

Code: Select all

SELECT 1.0+2.0 fld
After executing I use:
ds.FieldByName('fld').AsFloat

i've get "3.0 is not a valid floating point value" and here is a bug, in some country's decimal separator is '.' in other ',', result of sqlite is always with '.'
Post Reply