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 would you determine the size of a file in php?
What are variables in research examples?
How do you create an array in php?
What is the difference between php and java?
Explain about require and include function?
What is the use of htmlentities in php?
Tell me what is the meaning of a final class and a final method?
What does $_cookie mean?
How can you create a session in php?
Is null function in php?
Explain the difference between isset() and empty()?
What is mysql_fetch_array?
Which is correct about mysqli and pdo?
What is ci in php?
Is php class name case sensitive?