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 |
What is FILENAME in AWK?
what is java script allabout
What is the use of string function asorti(string,[d])?
What is the use of numeric function sin ?
What is the use of SUBSEP?
How do you Explicit File output?
What are Regular Expressions in AWK?
Which shell to use with AWK?
What is the use of format specifier %g ?
What is the use of format specifier %o ?
What is the use of string function match(string,regex)?
What is the use of Strftime function?