realbasic-nug
[Top] [All Lists]

Re: double to string????

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: double to string????
From: Kirk Gray <develop@kirkgray.com>
Date: Mon, 30 Jun 2008 13:48:47 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <C48F01D8.4EB3E%markus_winter@online.de>
References: <C48F01D8.4EB3E%markus_winter@online.de>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Jun 30, 2008, at 1:34 PM, Markus Winter wrote:

Oh dear God. Double precision with 17 numbers after the decimal point I can
happily live with - but that it is restricted to 17 numbers before the
decimal point is shocking.

Than I would suggest using Decimal instead of Double. When using Decimal, remember to always use Strings to convert to/from Decimal. If you just use a number, it can be converted to Double by RB before being converted to Decimal -- loosing you the accuracy you're trying to achieve.

Good luck.


————————————————
Kirk Gray
REALbasic Professional 2008r2
MacBook Core 2 Duo, OS X 10.5.3
Power Mac dual G4, OS X 10.4.11



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>