Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a division sign in scripting?

Asked by
Irvene 5
9 years ago

Is there a sign for division, inside of scripting?

3 answers

Log in to vote
3
Answered by
Mystdar 352 Moderation Voter
9 years ago

I know * is multiply so I presume / is divide, sorry if this does not help

Ad
Log in to vote
4
Answered by
RAYAN1565 691 Moderation Voter
9 years ago

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."

Log in to vote
1
Answered by 9 years ago

It is / Mystdar is right

0
Alright thanks man. Irvene 5 — 9y

Answer this question