I am looking at my SQLite database in two ways:

1. from PHP, in my application,  thru 'select * from table' statements and
the such
2. from Adminer, as a database management tool

When I look at a field that is type Real, and has the value of -41.29 as
the entered value, the results differ.

- The PHP select gives me -41.29
- Adminer gives me -41.289999999999999147

Why this difference?  Does the php library do something to 'round' numbers
to so-many decimals?
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to