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 ARGIND?
how to run awk command specified in a file?
What is the use of numeric function rand ?
What is the use of string function toupper(string)?
What is the use of sequence ?
How add a first record and last record to the current file in linux?
Write a command delete all line except first line?
Write a command to print first and last line using sed command?
What are the Autoincrement and Autodecrement Operators?
What are Associative Arrays?
What is the use of sequence v ?
what is java script allabout