M
Maury Markowitz
Please READ CAREFULLY before saying this is an FAQ issue about storing
floating point numbers. It's not.
I have a form in Access linked to a table called tblPrices, which has
an ID, a date, and a price. When I type a date and the price "1.2"
into the form in Access and then look at the DB, it says the price is
"1.1999999999999996".
Wait, you're going to say this is because it can store floating point
numbers, aren't you?
Now I use a command line and do "UPDATE tblPrices SET price=1.2 WHERE
ID=12243". Now I go back to the database view and sure enough, the
price says "1.2".
If this was the inability to store floating points numbers, the second
attempt would fail too, right? So what's going on here.
Maury
floating point numbers. It's not.
I have a form in Access linked to a table called tblPrices, which has
an ID, a date, and a price. When I type a date and the price "1.2"
into the form in Access and then look at the DB, it says the price is
"1.1999999999999996".
Wait, you're going to say this is because it can store floating point
numbers, aren't you?
Now I use a command line and do "UPDATE tblPrices SET price=1.2 WHERE
ID=12243". Now I go back to the database view and sure enough, the
price says "1.2".
If this was the inability to store floating points numbers, the second
attempt would fail too, right? So what's going on here.
Maury