When using a number variable in Storyline360 it appears to have, by default, 2 decimal places. Is it possible to turn off/disable the decimal places without using javascript?

Thanks Walt! I had worked out how to remove a decimal if the number is less than 1 using triggers (e.g. 0.14), but this doesn't help if the number is greater than 1 and contains decimals (e.g. 2.45). So I gave in and went with a javascript solution.

## 2 Replies

Short answer, not really, apart from using text variables that are static.

Thanks Walt! I had worked out how to remove a decimal if the number is less than 1 using triggers (e.g. 0.14), but this doesn't help if the number is greater than 1 and contains decimals (e.g. 2.45). So I gave in and went with a javascript solution.