Rainrays Profiles
 
English
   Pregnancy & Care | Submit Your Free Ads | Tours & Travel India

Home rainrays profile world Contact Us Online Free Marketing Aadhaar Card Online Free Marketing Pregnancy & Care Online Free Marketing Tour n Travel Free Ads with rainrays Festivals  Tourist Attraction India Pincode India  Tourist Attraction India Tourist Attraction India Jobs Recipes Jobs Select Babies Name

 
Custom Search
More Topics...
  Pregnancy tips and care  Pregnancy tips and care
 YouTube Videos YouTube Videos
  Hospitals & clinics in India Hospitals & clinics in India
  Hospitals & clinics in India World Travel Tips
 Kitchen Dictionary Kitchen Dictionary
 Recipes Recipes
 Personality Personality
 Institute/Colleges Institute/Colleges
 Indian Festivals Indian Festivals
 University University
 Restaurant Restaurant
 Districts List in India Districts List in India
 Districts Profile of India Districts Profile of India
 Hotels Hotels
 BSNL STD Codes (INDIA) BSNL STD Codes (INDIA)
 Love dating and Romance Love dating and Romance
 Baby name list Baby name list
 Jobs by location Jobs by location
 Jobs by Keyword Jobs by Keyword
 Jobs by Function Jobs by Function
 Jobs Part Time Jobs Part Time
 Shayari Shayari

Best Indian Tours
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 Religious Tours International Tours
 Religious Tours Indian Tours for Overseas
 

number_format(number,decimals,decimalpoint,separator)

  Topic » Language » PHP » String
Post By : Rainrays At 0000-00-00 00:00:00

number_format(number,decimals,decimalpoint,separator)

number:Be formatted.
decimals:For how many decimals place(Optional).
decimalpoint: decimal indicator(Optional).
separator: Default value is",".But ew can use other separator(Optional).

Ex:

    echo number_format("9999900")."
";
    echo number_format("9999009",3)."
";
    echo number_format("99999999",2,",","-");
?>
O/P:
9,999,900
9,999,009.000
99-999-999,00




String Formating Functions

lcfirst( string $string ): First character of string in lowercase ucfirst(string $string): First character of string in uppercase ucwords(string $str): Returns a string with the first character of each word in uppercase strtoupper(string $string): Make a string in uppercase strtolower(string $str): Make a string in lowercase

Other sscanf() - Parses input from a string according to a format sprintf() - Return a formatted string ..

More...





Refer to Friend

  Rainryas information World
 

Share Info/View About Profile Or Any Comment

 
Your Name:*  
 
Comment:*  
 
 
 
Other Topic
Gwalior :: Malwa Institute of Technology and Managment
Jaipur :: Naila Bagh Palace
Pincode East Garo Hills District Meghalaya
District Mandsaur
Karnataka :: Gulbarga :: Hotels list
 
Create Your Profile in Category » String
 
 
 
 
 
Related Content..
 35  String Formating Functions
 21  substr_count()
 39  strip_tags()
 24  substr_replace(): Replaces text within a portion of a string
 32  htmlspecialchars():Convert special characters to HTML entities
 40  strpos() and stripos()
 33  htmlspecialchars_decode():Convert special HTML entities back to characters
 29  html_entity_decode():Convert all HTML entities to their applicable characters
 26  chunk_split():Split a string into smaller chunks
 22  substr(): Returns a piece of a string
 
Special Tours Type India
 Week End Tours  Week End Tours
 Wildlife tours Wildlife tours
 Honeymoon  Honeymoon Tours
 Religious Tours Religious Tours
 International Tours International Tours
 Tours for Overseas Indian Tours for Overseas
More on rainrays.com
Top Links : Contact us | About us | Privacy & Policy | Terms & Condition | Extract Email | Submit URL to Search Engine
Jobs : Jobs by Location | Part Time Jobs | Jobs by Function | Jobs by Keyword | Jobs Out of india | Jobs Search Engine
Other Links
    Girl baby Names | Boy baby Names | Love dating and Romance | University | Restaurants in India | Hotels in India | Hospitals & clinic | Pregnancy & Care
    Coaching Institute | Educational Institution | School/Colleges by Loaction | Recipes | Std Code | PHP | Products | Links | PHP Interview Question

Copyright © 2010 --- All Rights Reserved