| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Fixing decimal return |
> MS> Beware! It can be dangerous using float or double for money, > MS> because of binary rounding errors. > S'ok - there's an old accountant's trick that works. You just > create an account for yourself, and throw in anything that > doesn't balance in there at the end of the day. You might get > rich fast. :-) That could be dangerous. Floats are signed, it might just subtract your money. [Heck, I'm becoming a nerdygeek. I just made a joke in C] Rob --- FMail 0.94* Origin: (3:632/103.69) SEEN-BY: 50/99 620/243 623/630 632/103 107 348 360 633/371 634/388 396 SEEN-BY: 635/301 502 503 544 639/252 711/401 409 410 413 430 808 809 932 934 SEEN-BY: 712/515 713/888 714/906 800/1 @PATH: 632/103 348 635/503 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.