dbTalk Databases Forums  

formatting currency

comp.databases.ms-access comp.databases.ms-access


Discuss formatting currency in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roger
 
Posts: n/a

Default formatting currency - 09-20-2010 , 07:08 AM






my regional options has the currency symbol as a comma (French format)
but I'd expect this
?format(1.2,"#.00")

to display 1.20, yet it displays 1,20

what format should be used to get 1.20 ?

Reply With Quote
  #2  
Old   
Salad
 
Posts: n/a

Default Re: formatting currency - 09-20-2010 , 12:24 PM






Roger wrote:

Quote:
my regional options has the currency symbol as a comma (French format)
but I'd expect this
?format(1.2,"#.00")

to display 1.20, yet it displays 1,20

what format should be used to get 1.20 ?
Not having to deal with intenation stuff consider this a kludge.
? Replace(Format(1.3,"#.00"),",",".")
1.30

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.