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)?



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

Answer / 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

More Awk Interview Questions

Write a command to find the sum of bytes (size of file) of all files in a directory?

0 Answers  


What is the use of PRINTF?

0 Answers  


What is the use of format specifier %o ?

1 Answers  


What is the use of sequence a?

1 Answers  


What is the use of format specifier %% ?

1 Answers  


What is the use of systime function?

0 Answers  


What are Regular Expressions in AWK?

0 Answers  


What are Arithmetic Expressions in AWK?

0 Answers  


How do you Explicit File output?

0 Answers  


What is the use of format specifier %d ?

1 Answers  


What is the use of sequence ?

1 Answers  


What are Trigonometric Functions in AWK?

0 Answers  


Categories