Re: Novice Level Project - simple, fun and useful
- Posted by Senator Sep 26, 2020
- 1503 views
Thanks for all the feedback.
I was just about to post my code... but first let me see if I have this right...
I obtain the value as an atom/decimal number say, 100.36 then
multiply it by 100, converting it to 10036 an integer, and store
that value in the data base.
When I display that value I simply divide it by 100
and everything is copasetic, right?
I already have 81 records in the database now.
It shouldn't be hard to loop through those records converting the stored value to integers/pennies.
Regards, Ken