BellaDati Technical Documentation : Change number of decimal places

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.