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.