| To: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | Re: double to string???? |
| From: | Joe Strout <joe@inspiringapps.com> |
| Date: | Mon, 30 Jun 2008 14:01:18 -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: | <5F73C687-D188-45E1-B0E9-92585D7C5490@kirkgray.com> |
| References: | <C48EFFC5.4EB3B%markus_winter@online.de> <5F73C687-D188-45E1-B0E9-92585D7C5490@kirkgray.com> |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
On Jun 30, 2008, at 1:43 PM, Kirk Gray wrote: Using your: v = 12345678901234567890.1234567890 and Joe's: EF1.text = Format(v, "-#.#") I get: 12345678901234567168. Which is to be expected. Notice the first 17 digits are accurate to the assignment statement. After that, you get garbage. It's working exactly as advertised. Ah, I didn't read closely enough before -- it's not truncating, it's just filling in garbage. I agree, this is working correctly. (I'm sure the remaining digits are not random, but rather reflect the underlying representation of the number.) Best, - Joe -- Joe Strout Inspiring Applications, Inc. http://www.InspiringApps.com _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: double to string????, Markus Winter |
|---|---|
| Next by Date: | RBScript error numbers, Robin Lauryssen-Mitchell |
| Previous by Thread: | Re: double to string????, Kirk Gray |
| Next by Thread: | Re: double to string????, Harrie Westphal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |