Forum Discussion
Decimal Display
After reading several posts I wasn't sure if I should post a new topic or try here, but here I am.
Do any of these JS options allow for increasing decimal places on triggers with conditional values on numeric variables?
Made-up example:
User needs to input a measurement between .5005 - .5015. When they click next it will take them to one of three places, dependent on the variable entered (over tolerance, under tolerance, or in limits).
The problem I have is not that the the user inputted value is cut short or rounded, rather the conditional triggers only allow entry up to the second decimal place for numeric variables, so I end up with the following three trigger conditions: between 0.5 and 0.5, under 0.5, and over 0.5.
(I did type them in accurately to the forth decimal place in the trigger wizard and verified that on top of the displayed conditional value being rounded to the first decimal place in this instance, it also functionally rounds to this as well.) SEE ATTACHED FILE
Obviously, this rarely yields an accurate outcome. I have several applications that require accuracy up to the 5th and 6th decimal place and the inability to control this would unfortunately be a deal breaker for my use case.
Thanks for reading,
Adam
The javascript solutions mentioned here still work. You just cannot write more then 2 decimals back to a Storyline numeric variable, you need to show those in Storyline text variables. And do your calculations in Javascript. Or use the multiplication trick someone mentioned in some post... but then still the endresult you need to show in a text variable.