CultureInfo.numberToFormattedString

Syntax

numberToFormattedString(numval: Number, GroupSeparator: String, DecimalSeparator: String, FractionCount: Number);

Parameters

numval. Source number.

GroupSeparator. Group separator. If it is not specified, the parameter value is obtained from the regional settings.

DecimalSeparator. Decimal separator. If it is not specified, the parameter value is obtained from the regional settings.

FractionCount. Number of digits in decimal part. If this parameter is not specified the number of digits is not limited.

Description

The numberToFormattedString method returns a string that contains a number formatted considering separators.

Comments

This method returns a String-type value.

Example

The example of use is given in the with description of the CultureInfo.validateNumber method.

See also:

CultureInfo