Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Should I use mysqli or pdo?

943


What is the difference between null and empty?

1009


Why framework is used in php?

980


What is php variable?

999


What is a static variable in php?

1053


How to insert a line break in php string?

981


How variables are passed through arguments?

933


What are the common uses of php?

1093


How do you clear environment variables?

930


Write a program in php to check whether a number is prime or not?

936


Write down the code for save an uploaded file using php?

952


What are the difference between abstract class and interface in oops?

989


Code to upload a file in PHP?

1026


Explain what is meant by pear in php?

992


What is the differences between $a != $B and $a !== $B?

1062