Using Floats with Currency

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

After whining and complaining about how inacurate Floats are, Fred convinced me to not be so lazy and make my own routine for rounding them off, so I could work with currency accurately.

Snippet posted on the PB Resources Site...
http://www.reelmediaproductions.com/pb

*don't forget, if you want to make it easier for others to find help, be sure to post your code on the Resources Site too. :)