Jump to content

How can I convert currency?


webprogramer
 Share

Recommended Posts

But currency values change every single day. You would need to rely on information from a bank. If you want a basic conversion, though, just do the operation.

function dollarsToRial(amount) {    return amount * 12260;}

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...