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...

What is the use of string function strtonum(string)?

Answer Posted / quickmist

strtonum() will reliably convert a string representation of a number into an integer number. It's reliable because you can pass the min and max value that the you want the input to be within and strtonum() will return an error code if the number falls outside the specified range. This function however expects only 1 '-' symbol to exist in the input and returns a long long integer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of string function match(string,regex)?

1189


Write a command to print zero byte size files?

716


How add a first record and last record to the current file in linux?

1242


How to execute an AWK script?

1157


What is the use of systime function?

1372


What is the use of string functiong sub(regex,replacement,string)?

1169


What are Arithmetic Expressions in AWK?

1168


What is the use of string function length(string) in AWK?

1110


what are divisions main frems

1881


What is the use of string functiong sub(regex,replacement)?

1152


What is the use of RSTART, RLENGTH and match ?

1503


What are the Autoincrement and Autodecrement Operators?

1148


What is the use of SUBSEP?

1384


What is the use of string function substr(string,position,max) in AWK?

1251


EPFO 2009 result has come or not which is held in sep 2009, pls told me, I have ever asked you.

2267