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




To check how many characters are after the decimal point and then add one or two zeros if necessary.


David Bradley
Senior Web Programmer
Globe Media
Eastwood Works
Fitzwilliam Road
Rotherham
S65 1JU

Tel: 01709 364721
Fax: 01709 515225
email@hidden
www.globe-media.com




On 19 Jun 2006, at 16:00, Gary Tate wrote:

What are you trying to do with the numbers?

You can strip them down (or build up) using string manipulation.

ie check how many characters after the decimal point and either add zeroes, or remove them.

Gary


On 19 Jun 2006, at 15:55, David Bradley wrote:

Hi,

Can you format numbers to 2 decimal points in Applescript. I want to format the numbers in to a currency format

Cheers

David Bradley
Senior Web Programmer
Globe Media
Eastwood Works
Fitzwilliam Road
Rotherham
S65 1JU

Tel: 01709 364721
Fax: 01709 515225
email@hidden
www.globe-media.com




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


This email sent to email@hidden




------------------------------------------------------- TGI Solutions LLP Apple Solution Expert http://www.tgisolutions.co.uk Mobile: 07813 214 129 -------------------------------------------------------



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


This email sent to email@hidden


_______________________________________________ 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: Gary Tate <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.