DZone ForumsDZone Forums  

Go Back   DZone Forums > Community > Languages & Frameworks > Ajax & Javascript
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
LinkBack Thread Tools Display Modes

Topic: Entering the currency format depending upon currencies selected in dropdown box
Old 05-10-2008, 01:07 AM   #1 (permalink)
Member
 
Join Date: May 2008
Posts: 2
In my project there is a textfield named as Amount
i need to enter the amount depending upon what i select the currencies in a drop down

If i select a currency name as "Ireland" then i can able to enter the amount
according to the country number format means
if i select "Riyal" and i enter the value in amount filed as "12345.934213" then
it should automatically assign "separators" but the decimal places should not be rounded

can anybody help me in this regard with a sample of code that suits with any type of locale/currencies in the word and which suits ISO Standards.

using javascript
srinivasrao27 is offline   Reply /w Quote -


Thread Tools
Display Modes



All times are GMT -5. The time now is 03:31 AM.