@to_num(string)

convert a string into a numeric value (integer or float, following the most appropriate). Value <undef> is returned if the string cannot be converted. If the represented numeric is out of range, an error message is emitted.

See also String Related Functions @car,    @cdr,    @char_is_alnum,    @char_is_alpha,    @char_is_ascii,    @char_is_blank,    @char_is_cntrl,    @char_is_digit,    @char_is_graph,    @char_is_lower,    @char_is_print,    @char_is_punct,    @char_is_space,    @char_is_upper,    @char_is_xdigit,    @copy,    @count,    @drop,    @dump,    @dumpvar,    @empty,    @explode,    @find,    @is_prefix,    @is_string,    @is_subsequence,    @is_suffix,    @last,    @member,    @occurs,    @permute,    @push_back,    @r_findall,    @r_match,    @r_search,    [@regexp],    @remove,    @remove_duplicate,    @replace,    @scramble,    @slice,    @sort,    @sputter,    @string2fun,    @stutter,    @string2proc,    @system,    @take    @to_num,    @Tracing,    @UnTracing