What is the use of string function strtonum(string)?
Answer Posted / 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 View All Answers
What is the use of string function match(string,regex)?
Write a command to print zero byte size files?
How add a first record and last record to the current file in linux?
How to execute an AWK script?
What is the use of systime function?
What is the use of string functiong sub(regex,replacement,string)?
What are Arithmetic Expressions in AWK?
What is the use of string function length(string) in AWK?
what are divisions main frems
What is the use of string functiong sub(regex,replacement)?
What is the use of RSTART, RLENGTH and match ?
What are the Autoincrement and Autodecrement Operators?
What is the use of SUBSEP?
What is the use of string function substr(string,position,max) in AWK?
EPFO 2009 result has come or not which is held in sep 2009, pls told me, I have ever asked you.