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
Which cryptographic functions in php returns the longest hash value?
Name and explain five of the PHP error constants?
What is the difference between "echo" and "print" in php?
How can you propagate a session id?
Is php easier than node?
What is a base url?
What is the alternative structure for control structures?
How to get the total number of values in an array?
How can we submit from without a submit button?
What is the use of the function htmlentities?
What is null value in php?
Tell me what is the use of "enctype" attribute in a html form?
What are the advantages of stored procedures, triggers, indexes in php?
What is difference between post and put in rest?
Why does php start with variables?