Re: Novice Level Project - simple, fun and useful

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu