다음을 통해 공유


Srch.U.toFormattedNumber Method (DisplayTemplatesSrch)

Converts the number format to the given format.

Srch.U.toFormattedNumber(num, defaultDecimalPlacesIfNotInt)

Return value

A formatted string of the number.

Parameters

  • num
    The number to convert.

  • defaultDecimalPlacesIfNotInt
    The number of decimal places.