numberToString()

public String numberToString(Object obj)

This method converts a number (integer or double) to a string formatted according to the currently configured locale. The input parameter can be of type integer or of type double.

This method replaces the standalone method $FormatNumberToString()$, which is deprecated.

Figure 1. Examples for numberToString()
<input value="$HMLFormatUtil.numberToString(1111.44)$"
          row="20" col="16" movecursor="true"
          xlatehostkeys="true" encrypted="false" />