[OS X TeX] decimal numbers in Applescript

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Tue Nov 30 12:21:58 EST 2004


Could someone with an American number format in the OS, please check, 
if the result of the Applescript command

set x to "0,5" as number
x

gives x=0.5

On my system it does, even after  switching  to an American format, 
though I am suspicious that I would first have to restart Applescript, 
before the change will become effective, but which I would like to 
avoid.

Applescript refuses to make the string "0.5" into a number.

Thanks,
Claus

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list