Hello :)

in ActionScript (based on ECMAScript) you must use the point '.' to the
float numbers, example :  10.5

You can't use the "," caractere, 10,5 is false and return NaN if you use the
"number" type.

if you want parse "10,5" you must transfor the ',' in '.' ...

EKA+ :)


2006/11/9, Hans Wichman <[EMAIL PROTECTED]>:

Hi list,

can anyone confirm whether number parsing depends on regional settings in
anyway?
For example, could parsing "10,3"  result in 10,3 on some pc's and 10 on
others?
And even worse could parsing it using Number result in 10 on some pc's and
NaN on others?
I can't reproduce it, but client's evidence seems to prove otherwise:)

thanks,
JC
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to