Skip to end of banner
Go to start of banner

Format a number as currency scripted field

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Problem

You would like to display a numeric custom field as currency.

Solution

This script assumes there is a SIL alias for the custom field containing the number value.

return formatNumber(someNumber, "$###,###.0#");

Example output: $16,546,987.21

  • No labels