Variable calcuation - decimal issue

cyndi
Community Member Posts: 5
Hmm, I feel really dirty suggesting this, but you could multiply the user-entered data by 100 (or more). Then, divide your final result by whatever power of 10 you end up with at the end (10,000 for squared, etc.).
As an interesting aside, I did an experiment with the Form Entry. You can set an action for On Select/Change to modify that exact variable with a Multiply Variable By 100. As you change the information in the entry box, the variable automatically updates to be 100 * whatever is entered in the form box. I had never tried that before. Since I just now discovered it, I don't know of the pitfalls, but it looks pretty solid so far.
Just some suggestions. Rounding can be a pain. Just ask Excel.
Kevin
As an interesting aside, I did an experiment with the Form Entry. You can set an action for On Select/Change to modify that exact variable with a Multiply Variable By 100. As you change the information in the entry box, the variable automatically updates to be 100 * whatever is entered in the form box. I had never tried that before. Since I just now discovered it, I don't know of the pitfalls, but it looks pretty solid so far.
Just some suggestions. Rounding can be a pain. Just ask Excel.
Kevin
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 328 CenarioVR®
- 195 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products