Round off a number

If you are using Lectora 2008 you can simply set the Variable's Modification Type to Round or Round down within the action properties. No extra javascript is necessary. Round down will truncate the variable, and round will actually round that variable.If you are using Lectora 2008 you can simply set the Variable's Modification Type to Round or Round down within the action properties. No extra javascript is necessary. Round down will truncate the variable, and round will actually round that variable.

Discussions have been disabled for this post