Take an integer of a variable? Mar 03, 2014 By Jamie Jewer Hey there, I am building a check your knowledge question with a table where the student fills out values that calculate a percentage. Is it possible to have the variable round up/down, or to take an integer of the variable? Cheers, Jamie
Michael Hinze 10 years ago03/03/14 at 9:47 am (UTC) This can be done with the round() method in JavaScript (some info here: http://www.w3schools.com/jsref/jsref_round.asp) and here is a non-JavaScript option: http://community.articulate.com/forums/p/31583/234664.aspx
1 Reply
This can be done with the round() method in JavaScript (some info here: http://www.w3schools.com/jsref/jsref_round.asp) and here is a non-JavaScript option: http://community.articulate.com/forums/p/31583/234664.aspx
This discussion is closed. You can start a new discussion or contact Articulate Support.