| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | float |
DN> The result of ( avail / total ) is obviously less than 1, and it will DN> result in an integral result (0) rather than a float. Already you've DN> truncated your result. DN> Try: DN> float( avail ) / float( total ) * 100 I think you've been using C++ for too long! :-) That syntax does not work with C. BFN. Paul. @EOT: --- Mksmsg* Origin: none (3:711/934.9) |
|
| 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™.