2 Replies Latest reply on Mar 21, 2015 2:42 PM by hasand59089870

    How Can I Get A Dollar Value to Display Correctly?

    Jim MacD Level 1

      How do I get the following to display the ($) sign in front of the value and two decimal places past the decimal point?

      Note that I have set the Text Field Properties>Format: Select format category: Number

                                                                                              Separator Style: 2

                                                                                              Currency Symbol: Dollar($)


      [this.getField("Minimum-Redemption-Amount").value has a value of 25000]


      app.alert("The dollar amount is " + this.getField("Minimum-Redemption-Amount").value);


      displays---> The dollar amount is 25000