Forum Discussion
HappilyCreative
3 years agoCommunity Member
How to Get Two Decimal Places or Cut Decimals with JavaScript in Storyline?
Hi,
I am trying to figure out how to get my number variable to either have two decimal places, or simply have the decimals cut and just round to the nearest whole number. I was able to achieve ge...
LucianaPiazza
Staff
Hi Holly!
Thanks so much for sharing your file with us!
I wanted to pop in a share a related community discussion that provides a JavaScript workaround that could be of help:
I'll leave it to our knowledgeable community for any JavaScript tips and tricks!
HappilyCreative
2 years agoCommunity Member
Thanks, Luciana! I was able to get in touch with Steve Gannon who provided assistance for the post you referenced and he quickly helped me out. :) This community is the best!!