realbasic-nug
[Top] [All Lists]

double to string????

To: REALbasic Network Users Group <realbasic-nug@lists.realsoftware.com>
Subject: double to string????
From: Markus Winter <markus_winter@online.de>
Date: Mon, 30 Jun 2008 20:25:31 +0200
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
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Thread-index: Acja3q2W6+xPckbREd28lgAX8sM2Tg==
Thread-topic: double to string????
User-agent: Microsoft-Entourage/11.4.0.080122
Hi all,

the following code

v as double
v = 12345678901234567890.1234567890

EF1.text = Format(v,
"-#########################################################.################
######################################")

produces 

12345678901234567168.

in the EditField - bug or "feature"? And what can I do about it?

Thanks

Markus

P.S. In my example it's not only the numbers AFTER the decimal point that
are missing 




_______________________________________________
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>