in reply to Re^2: numbers in parentheses not considered numeric values??
in thread numbers in parentheses not considered numeric values??

The addition operator adds numbers, not arithmetic expressions. You can use all the parentheses you want in your arithmetic expressions, but not in your numbers.
  • Comment on Re^3: numbers in parentheses not considered numeric values??

Replies are listed 'Best First'.
Re^4: numbers in parentheses not considered numeric values??
by gghelpneeded (Novice) on Aug 07, 2015 at 22:23 UTC
    As a form of data input, it is not allowing it. But I understand what you are saying. Your edits are making my responses seem completely off. lol. thanks for the help!

      The following adds the values produced by 4 and (5):

      4+(5)

      You're saying the following should do the same:

      4+"(5)"

      If so, where do you draw the line? Should the following attempt to wipe your system?

      4+"system('rm -rf /')"