Math with currency and temporary values

Hey there! I’m using Version 2 of Currency by Blaze5565 and I was wondering if there was a way for me to do math with currency? For example:

[code]CashLevel is a number.

To Cash:
Let TTT be a random number between 1 and 100;
Let TTT be CashLevel divided by 3 to the nearest whole number;
Increase the currency of the player by TTT;[/code]

I’m not familiar with that extension; where did you find it?

If it defines currency as a kind of value, you can convert back and forth by multiplying or dividing by $1.

Thanks! :smiley: I’m not sure where I got it exactly. Probably off of the main site ages ago.