2 Replies Latest reply on Sep 5, 2013 11:05 AM by MarkWalsh

    Get formatted field value

    MarkWalsh Level 4

      I have a few fields formatted as number with either 1 or 2 decimal places. I am using these values in a concatenated string in another field, and I want to use the formatted number in this calculation. Using either field.value or field.valueAsString just gets the value as entered i.e. '412' instead of '412.0'.


      Is there an easy way to directly get the value as it is formatted, or do I need to replicate the formatting when I am concatenating the string?