Hi, ok I get it, its seems that "-" is too a string (i was not too sure on that)
I was thinking in using tostring but I was wondering how do I get that. Thanks!
Announcement
Collapse
No announcement yet.
math question: negative numbers
Collapse
X
-
Originally posted by naxo View PostHi;
How can I know if I write from input is a negative number?
Second, you could convert the string to a number, and check if it is < 0.
Leave a comment:
-
-
math question: negative numbers
Hi;
How can I know if I write from input is a negative number?Tags: None
-
Leave a comment: