Jump to content

Rounding last digit


Jin
 Share

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.......?

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More