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

How would you determine the size of a file in php?

1091


What are variables in research examples?

1132


How do you create an array in php?

1072


What is the difference between php and java?

1039


Explain about require and include function?

1050


What is the use of htmlentities in php?

1041


Tell me what is the meaning of a final class and a final method?

1196


What does $_cookie mean?

1102


How can you create a session in php?

1119


Is null function in php?

1067


Explain the difference between isset() and empty()?

1008


What is mysql_fetch_array?

1101


Which is correct about mysqli and pdo?

1149


What is ci in php?

1125


Is php class name case sensitive?

1030