number formatting
Posted: Mon Oct 07, 2013 2:24 am
Hi, I thought this would be easy but no. Basically I would like to be able to format a number to display a currency in this case dollar ex. $123.45
I read the information in dictionary and search thru the forum for number formatting and glance thru apps examples with not much success. Any help on this would be appreciated, tutorial, guide to read anything. I build a test stack to see how formatting would work. The example below does not give me an error but if I enter 123.4567 I get 123.4567 in both cases.TIA
on mouseUp
set the numberformat to "0.00"
ask "enter a number"
put it into field "mine"
answer it
end mouseUp
I read the information in dictionary and search thru the forum for number formatting and glance thru apps examples with not much success. Any help on this would be appreciated, tutorial, guide to read anything. I build a test stack to see how formatting would work. The example below does not give me an error but if I enter 123.4567 I get 123.4567 in both cases.TIA
on mouseUp
set the numberformat to "0.00"
ask "enter a number"
put it into field "mine"
answer it
end mouseUp