Arc Forumnew | comments | leaders | submitlogin
Weird error
1 point by skenney26 5711 days ago | 1 comment
Does anyone know why the return value has a comma after the negative sign when the result is less than -100?

  arc> (num (/ -199 2))
  "-99.5"
  arc> (num (/ -200 2))
  "-,100"


2 points by almkglor 5710 days ago | link

It thinks the - sign is a digit. Apparently, 'num expects only positive numbers

-----