Jump to content

Format Number


Eric-

Recommended Posts

Hello, I have a number 58899,7 or 58899 for example and i wants to format it to haveIn : 58899,7 (Input number)Out : 58 899,70In : 58899Out : 58 899,00 Which is the function to use ?I tried number_format and sprintf() without success. Can you help me ?

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