Is there a sign for division, inside of scripting?
✓ ANSWER ACCEPTED
Is there a division sign in scripting?
3 answers
✓ Accepted answer
I know * is multiply so I presume / is divide, sorry if this does not help
The division sign in lua is '/'
For example, let's say I want to divide 12 by 6:
a = 12/6 -- '12/6' is the equation and 'a' is the answer
print(a) -- Here it prints the answer onto the output
In the output it would say "2."
It is / Mystdar is right
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Alright thanks man.