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

Which is variable cost?

966


What is the use of stripslashes in php?

985


What is the difference between explode and split?

1085


Which operator is used to combine string values in php?

936


Can you pass an array into a function?

1072


How to read and display a HTML source from the website url?

993


How is traits used in php?

994


Explain about looping in PHP?

1069


How does csrf attack work?

1021


Why is php used for web development?

968


Why do we use javascript in php?

976


What is the use of offset in mysql?

942


Explain the advantages of using PHP?

1012


What are global variables in php?

954


Which escape sequences can be used in single quoted strings in php?

944