3
2
1

How do I format data values in my text display data expression? For currency and dates for example.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You can use the built in Angular filters to format the display of your data.

      Use the following in a text display to convert a data field value to currency:

       

      Your Repayments are {{data.currencyField | currency}}

       

      Use the following in a text display to convert a data field value to a date with a specific format:

       

      The date and time today is {{Calc.date() | date:"MM/dd/yyyy 'at' h:mma"}}

       

       

      References:

      https://docs.angularjs.org/api/ng/filter/currency

      https://docs.angularjs.org/api/ng/filter/date

      1. Sacha Trube

        This is very easy to use, and makes for awesome UIs

      CommentAdd your comment...