Jump to content

Rounding last digit


Jin

Recommended Posts

Hi, I am building a website which default currency is Korean Won.
Unfortunately, Korean won has not decimal number such as cents.
And another problem is real smallest trade unit is 10.

eg: Won 1006 -> Won 1010 or Won 1004 -> Won 1000

So I wish to round first digit of the price like the above....
Does anyone help for me please.......?

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
×
×
  • Create New...