XsltLibrary.FormatNumberDynamic Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ^ FormatNumberDynamic(double value, System::String ^ formatPicture, System::Xml::XmlQualifiedName ^ decimalFormatName, System::String ^ errorMessageName);
public string FormatNumberDynamic (double value, string formatPicture, System.Xml.XmlQualifiedName decimalFormatName, string errorMessageName);
member this.FormatNumberDynamic : double * string * System.Xml.XmlQualifiedName * string -> string
Public Function FormatNumberDynamic (value As Double, formatPicture As String, decimalFormatName As XmlQualifiedName, errorMessageName As String) As String
Parameters
- value
- Double
The value to format.
- formatPicture
- String
The format picture.
- decimalFormatName
- XmlQualifiedName
The format name.
- errorMessageName
- String
The error message name.
Returns
A string that indicates the number format. For more information, see the number formatting section in the W3C Recommendation.
Remarks
The FormatNumberDynamic method formats value
by using the formatPicture
and decimal-format expanded name. The errorMessageName
is used only for error reporting and must contain the qualified name of the decimal-format object.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈