Featured Categories
-
Lectora®
Lectora® is the most trusted authoring tool in the world. Rock out your creativity! Author courses any way you like. Lectora adheres to best practices for Accessibility and Web Content Accessibility Guidelines (WCAG), offers responsive authoring for eLearning, and publishes to any LMS (Learning Management System).
-
CenarioVR®
Experience virtual reality through CenarioVR®, our training and virtual reality (VR) authoring software that allows you to create immersive learning in minutes! No coding required!
-
Rockstar Learning Platform®
Our Rockstar Learning Platform® has all the features you’ll love. Help your employees be better at their jobs, more valuable to your company, and most effective in servicing your customers.
-
The Training Arcade®
Level up your learner engagement with the Training Arcade®! The Training Arcade is a library of fun, mobile-ready, casual games that can be rapidly customized with your content to create effective gaming!
-
ELB Learning Content
Did you know that our AssetLibrary™ has over 120 million engaging, interactive, and awe-inspiring templates and assets to help you become an eLearning Rockstar®?
Format variable or text box as currency
The logic looks like this: Condo = $2,000,000 x 65% = $1,300,000
Lectora can multiply the numbers and set a variable equal to the product, but the result is 1300000.
Is there a way to format the variable or the text box to make a number a dollar amount?
Best Answers
-
Hello davidcm,
Have a look at NumeralJS (http://numeraljs.com/)
Globalize (https://github.com/globalizejs/globalize)... as you scroll down look for "Currency module"
That should get you started in the right direction
-N0 -
Hello davidcm,
There is not official (eLearningBrothers) video per-say presently (we are working on this) but there is documentation.... below is an earlier post/discussion
https://rockstars.elearningbrothers.com/discussion/301718/how-do-you-add-js-and-css-to-lectora
and an older article here:
https://www.trivantis.com/uncategorized/how-to-add-custom-interaction-to-your-training-using-javascript/
Best,
-N2
Answers
-
Thanks! Do you know of a video online that gives a quick explainer of using js with Lectora?0
-
Thanks! I'll check it out. I appreciate the help.
Best, David
0
Categories
- 35.9K All Categories
- 110 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 27 ELB Learning Content
- 27 ELB Learning Content Discussions
- 343 CenarioVR®
- 204 CenarioVR Discussions
- 139 CenarioVR Feature Requests
- 44 Rockstar Learning Platform®
- 41 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 48 ReviewLink®
- 48 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 938 All Things eLearning
- 39 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products