Edit

Share via


XsltLibrary.FormatNumberStatic(Double, Double) Method

Definition

Implements the format-number() XSLT function. For more information, see the number formatting section in the W3C Recommendation.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 System::String ^ FormatNumberStatic(double value, double decimalFormatterIndex);
public string FormatNumberStatic (double value, double decimalFormatterIndex);
member this.FormatNumberStatic : double * double -> string
Public Function FormatNumberStatic (value As Double, decimalFormatterIndex As Double) As String

Parameters

value
Double

The value to format.

decimalFormatterIndex
Double

The formatter index.

Returns

A string that indicates the format. For more information, see the number formatting section in the W3C Recommendation.

Remarks

The FormatNumberStatic method formats the given value by using the given decimal formatter object, created by RegisterDecimalFormatter.

Applies to