How to test for a number

Lynch, Jonathan BNZ2 at CDC.GOV
Wed Mar 16 11:17:51 EST 2005


Well, that brings up a possibility...

Shouldn't there be a way to check for the system settings (perhaps in
the registry) and adjust for that in the script?

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Klaus
Major
Sent: Wednesday, March 16, 2005 11:16 AM
To: How to use Revolution
Subject: Re: How to test for a number

Hi Jonathan,

> Hi Klaus...
>
> Heh - the comma brings up another point.
>
> People often separate every third digit before the decimal with a 
> comma!
> (not sure how this is done in German)
>
> For example:
> 1,634,912.34
>
> So commas would need to be allowed, and then replace "," with empty
> would need to be used when working with the actual number...
>
> Which could really create a problem in having the program compatable 
> for
> both English use and German use!

EXACTLY!

We use it vice versa here in germany :-)

We use the comma as the decimal separator and the dot as a "thousand" 
separator!

e.g.
1.234.567,98

THAT will make it impossible to have an app that will handle both, 
english and german use...
Too bad! OK, we could have the user set this in the prefs, but still 
clumsy...

If only Rev would use the system settings for numbers (like other apps 
do ;-)


Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list