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 the use of format specifier %s ?
What is the use of numeric function cos ?
What is the use of sequence v ?
What is the use of PRINTF?
what is java script allabout
In the text file, some lines are delimited by colon and some are delimited by space. Write a command to print the third field of each line.?
What are Arithmetic Expressions in AWK?
What is the use of numeric function sqrt ?
Write a command to print the line number before each line?
What is the use of OFMT?
Write a command to print first and last line using sed command?
What are AWK Numerical Functions?