SQLIte Float load problem
#1

Hi guys,
I have problem with load float value from SQLite database. I made tabel and I added field with REAL(float) type, but, when I try to load value and, by using floatstr func. convert string to float. string from field is 100 but, it can't convert string to float value and put that value in char array(value is under 255).

Код:
    db_get_field_assoc(dbRESULT, "Svjecice", dbQUERY, 14); _HRP_vSvjecice{_id} = floatstr(dbQUERY); // USKORO - OVDJE IMA PROBLEM S OČITAVANJEM
    printf("Q %s | S %f | FF %f", dbQUERY, _HRP_vSvjecice{_id}, floatstr(dbQUERY));
Result

Quote:

[01:55:21] Q 100.0 | S 0.000000 | FF 100.000000

Reply
#2

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)