-
AE Expressions, rounding to nearest multiple 5
Hello!
So have an audio amplitude data on a slider which started out reading to 2 decimal places (i.e, 14.32). I used the Math.round expression to round out the decimal places so it now reads 14. The issue is that i would like the dynamic value to read to the nearest multiple of 5, rather than 1. so if the value is 11 it would read 10, and if the value if 23 it would read 25..
how would i accomplish this?
Many Thanks!
Tom