Re: decimal separating point
Re: decimal separating point
- Subject: Re: decimal separating point
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 22 Aug 2003 18:39:58 -0400
Date: Fri, 22 Aug 2003 19:27:28 +0200
Subject: decimal separating point
From: G=?ISO-8859-1?B?9g==?=tz Verdieck <email@hidden>
To: AppleScript Users <email@hidden>
Hi,
I want to create parameters for a do script like :
set ar_list to " "& co05_w
do shell script "perl " & p_path & p_name & ar_list
The problem is the original value for co05_w is : 103.1822047245
As soon as I put the value in the string it turns to 103,1822047245
The decimal separating point turns to a: ,
Has this something to do with the german language settings ?
How can I avoid this.
Please help
Gvtz Verdieck
It has everything to do with the German language settings, where the
decimal separator is designated to be a comma.
You can either change the setting for the decimal separator in the
"Numbers" tab of the International preferences panel or you could use
AppleScript's text item delimiters to change the commas to decimal
points after you convert the value from a number to a string.
Marc [08/22/03 6:39:17 PM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.