How do you format and output a number with leading zero's?
Answer Posted / mahidhar
syntax:number_format("number","decimal places","string
seperator","string thousands seperator");
Example:number_format('1000',2,'.','')
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
How do you trim spaces in excel?
How can we access the data sent through the url with the get method?
Should I learn php before wordpress?
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
What is the difference between single quoted string and double quoted string?
Which programming language does php resemble?
Does php has a future?
Is laravel frontend or backend?
What is php variable?
What are php loops?
How to check a variable is array or not in php?
What are the advantages of object-oriented programming in php?
What is difference between post and put in rest?
What is difference between sql and php?
How come the code works, but does not for two-dimensional array of mine?