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
What is crypt () in php?
What are differences between PECL and PEAR?
How to check curl is enabled or not in PHP
Is python better than php?
Tell me how can we automatically escape incoming data?
What is the purpose of the '.frm' file extension? What do thes file contain?
Why php script is not running in browser?
Is strcmp case sensitive?
What is PHP's configuration file called?
What is php date function?
How is it possible to parse a configuration file?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
Explain about the data types in PHP?
How do you count numbers in php?
what are the differences between php and perl