Forum Discussion
Commas in Numeric Variables
I made an interaction where a user inputs a numeric value, and 10 triggers each multiply the input by a different number and produce 10 outputs (numbers as numeric variables). Most outputs are between thousands and millions but could be even higher. It's hard to look at numbers (especially in the millions) without having commas to break them up. Is there any way to display a numeric variable with commas automatically built in?
- SteveGannonCommunity Member
Robbie, this thread might help:
- RobbieChristianCommunity Member
I just read through the whole thread. You're the best, Steve. I'll play around with the javascript tonight/tomorrow. Thanks!!
- AnnieWhite-11eeCommunity Member
Piling on to this thread for others who may be searching.
Has anyone found a new workaround for this? Or perhaps Articulate folks can chime in if there's been an update? I'm reading that javascript doesn't work with tablets/mobile devices making the workaround less than ideal.
- SteveGannonCommunity Member
Annie, JavaScript works on mobile devices. You may be referring to the old Articulate Mobile Player App which did not support JavaScript. Published content now works on mobile devices without that app.
- AnnieWhite-11eeCommunity Member
Steve, This is very helpful to know, thank you. I was concerned about venturing into the unknown (to me) land of JS only to have it not be supported. Appreciate the quick response.