Format variable or text box as currency

davidcm
davidcm Community Member Posts: 16 ♪ Opening Act ♪
I'm trying to build a table from a group of text boxes that allows users to make different calculations about asset values. Ideally, the user chooses and asset from a drop down list and chooses a discount (as a %) to apply to the asset value. A text box then contains the discounted asset value.

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

Answers

  • davidcm
    davidcm Community Member Posts: 16 ♪ Opening Act ♪
    Thanks! Do you know of a video online that gives a quick explainer of using js with Lectora?
  • davidcm
    davidcm Community Member Posts: 16 ♪ Opening Act ♪
    Thanks! I'll check it out. I appreciate the help.

    Best, David
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!