Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Currency Numbers




Le 19 juin 2006, à 18:34, Adam Bell a écrit :


The passed handlers are perfect with systems using the period as decimal separator.

In France we use the comma as decimal separator so,

set the rounding_value to "005"
set the rounding_value to ("." & the rounding_value) as number
fails with this kind of message:

"can't set .005 as number"

we must code:

set the rounding_value to "005"
set the rounding_value to ("," & the rounding_value) as number

and the result is : 0.005 (yes, with a period !!!)

Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Currency Numbers (From: David Bradley <email@hidden>)
 >Re: Currency Numbers (From: Wayne Melrose <email@hidden>)
 >Re: Currency Numbers (From: Adam Bell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.