04 Aug, 2012, Koumintang wrote in the 1st comment:
Votes: 0
Is there a way to make is_number(arg1) read negative inputs (i.e. -56) as a number… It sees the "-" an alpha not a digit. Is there a way to change this? or am I just screwed.
04 Aug, 2012, Lyanic wrote in the 2nd comment:
Votes: 0
Of course there's a way to change it. You can change anything. It would help if you posted the code, but the general solution would be this: check if first character is '-', advance to next character and check for number if it is, otherwise it is not a number.

Or you could find and use this functionality already provided in a library.
04 Aug, 2012, Koumintang wrote in the 3rd comment:
Votes: 0
Sorta like the smash tilde and the smash color functions. But Would it still read the the - when I need it to?
04 Aug, 2012, Koumintang wrote in the 4th comment:
Votes: 0
ok i figured it out… I made a copy of the function for is_number… named it is_numbera added in the stuff for it to ignore the dash and it worked great… thanks for the help
06 Aug, 2012, Runter wrote in the 5th comment:
Votes: 0
There's a standard function that can do this for you easily.

strtol()
http://linux.die.net/man/3/strtol
0.0/5