Formats the given number using a custom formatting pattern.

Syntax

Smartsite SXML CopyCode image Copy Code
string locale.formatnumbercustom(float value, string format)
string locale.formatnumbercustom(float value, string format, string culture)
string locale.formatnumbercustom(integer value, string format)
string locale.formatnumbercustom(integer value, string format, string culture)

Parameters

Name Data Type Description
value Float The value.
format String The format.
culture String The culture.

Return Value

Data Type Description
String Formatted number.

Expand image Examples

SXML