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

Compare with Current View Page History

« Previous Version 2 Next »

In some cases, you might like to change number of decimal places in your data. For this case can be used following transformation script:

java.text.DecimalFormat df = new java.text.DecimalFormat(".00")
return df.format(value('M_VALUE'))

Number of decimal values is defined in definition java.text.DecimalFormat(".00"). In this particular case, number of decimal values is set to 2.

  • No labels