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

I need to know if I can use this...?

Asked by 10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

Can you use % in scripts?

1 answer

Log in to vote
1
Answered by 10 years ago

Yes, but not exactly for percentages, I don't think. If you're looking to use percentages, use decimals or fractions.

% does an operation that is the remainder of division.

For example, 14%6 =2, because 6 goes in to 14 twice, and it has a remainder of 2. 12%6=0 because 6 goes in to 12 twice, and it has a remainder of 0.

Ad

Answer this question