Formatting of numbers in storyline

I have created a number of calculations with lots of triggers and variables and everything is working perfectly!!! Yea Storyline!!!

Here's my issue:  I hate the formatting of the numbers when I place the calculated value back into a slide...Is there a way to remove the decimal places or format similar to say....Excel?  Not sure that I have seen any functions or formatting options for numbers.

Any help would be appreciated!

13 Replies
Jamie Morgan

In the beta program and since, I have not seen anything regarding rounding or formatting of variables. I know Lectora had functionality to round variables to a certain number of decimal places, which was great for calculations. I've not seen this functionality with Storyline - but it would be a great feature request.

Feel free to request it - http://www.articulate.com/support/contact/submit.php?form=feature

Ashley Terwilliger

Hi Chris,

I haven't seen any automatic behavior of rounding the variables and I know the comma issue was mentioned as a feature request for those languages/countries that use commas vs. decimal points. Have you looked at using some Javascript to round the numbers? It's not something I can offer support for, but a number of forums users are Javascript pros.  You can also review the information here in regards to our Javascript best practices. 

Brett Rockwood

Chris, I agree this would be a very useful feature. This was a thread a while back about rounding quiz scores without using javascript but I can't find it at the moment. I bet Ashley can ;-)

In the meantime I would suggest submitting a feature request. I may have already put one in but I'm going to do so now in any case.

 

Chris R

Brett, I didn't know about the feature request option, thanks for the link. Done! I asked for 3 features. 1) an interface to import and export variables. Importing would facilitate establishing new variables or editing values. Exporting would facilitate QC review, editing within Excel, and reimporting. 2) formatting and calculation rounding similar to excel that could be set for all variables, groups of variables or individual ones such as via checkboxes. 3) more of a nice to have, to make the means of calculations less clunky and again, more like Excel. For example, the simple expression variable3 = equals variable1 x variable2 should be one statement or "trigger". The current interface requires two steps, One version of which is Set Variable3 = Variable1. Then, adjust Variable3 to x Variable2.

Sent from my iPhone

Ashley Terwilliger

Hi Sandy,

This thread is a bit older, so I don't know if folks are still subscribed. You could look at messaging them directly using the "contact me" button on their profiles, or I know there are a number of other forum discussions where folks discuss how to implement Javascript. It's not something I can assist with unfortunately though.