>Is there a way I can determine how many decimal >positions that float value has? Not as far as I know. Floating point numbers may have infinite precision. For instance, a number like 1.56 may be actually stored as 1.599999999999. Using simple arithmetic means, you have no way of determining if it's supposed to be 1.56 or really 1.599999999999. Regards, Steve Mann -- ------------------------------------------- Creative Digital Publishing Inc. 1315 Palm Street, San Luis Obispo, CA 93401-3117 ------------------------------------------- 805.784.9461 805.784.9462 (fax) [EMAIL PROTECTED] http://www.cdpubs.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
- RE: Determining number of decimal positions Mike Walters
- Re: Determining number of decimal positions David Leland
- RE: Determining number of decimal positions Mike Walters
- Re: Determining number of decimal positions Peter Epstein
- Re: Determining number of decimal positions David Leland
- Re: Determining number of decimal positions HowY
- RE: Determining number of decimal positions Richard Burmeister
- RE: Determining number of decimal positions Aaron Ardiri
- Re: Determining number of decimal positions Ben Combee
- RE: Determining number of decimal positions Martin Elzen
- Re: Determining number of decimal positions Steve Mann
- Re: Determining number of decimal positions John Marshall
- Re: Determining number of decimal positions Ben Combee
- Re: Determining number of decimal positions Aaron Ardiri