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 NF in AWK?
What is the use of string function toupper(string)?
what is vb script allabout
What is the use of RSTART, RLENGTH and match ?
What is the use of CONVFMT?
What is the use of sequence f?
Write a command to print all line except first line?
What are the Autoincrement and Autodecrement Operators?
What is the use of format specifier %d ?
What is the use of format specifier %c ?
What is the use of string function substr(string,position,max) in AWK?
What is the use of numeric function atan2?