Can you use % in scripts?
✓ ANSWER ACCEPTED
I need to know if I can use this...?
1 answer
✓ Accepted answer
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.
