Arc Forum
new
|
comments
|
leaders
|
submit
login
Weird error
1 point
by
skenney26
5945 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
5944 days ago |
link
It thinks the - sign is a digit. Apparently, 'num expects only positive numbers
-----