How do I...?

Round a Number Down

AutoPlay Media Studio includes a built in action to round any number down to the next whole number. To accomplish this, use the Math.Floor action:

your_number = 3.1415;
your_rounded_number = Math.Floor(your_number);

Note: This script will set the variable your_rounded_number to 3.