XsltLibrary.RegisterDecimalFormatter(String, String, String, String) 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.
Registers a decimal formatter object and returns a unique index assigned to it. The decimal formatter object is used by 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:
double RegisterDecimalFormatter(System::String ^ formatPicture, System::String ^ infinitySymbol, System::String ^ nanSymbol, System::String ^ characters);
public double RegisterDecimalFormatter (string formatPicture, string infinitySymbol, string nanSymbol, string characters);
member this.RegisterDecimalFormatter : string * string * string * string -> double
Public Function RegisterDecimalFormatter (formatPicture As String, infinitySymbol As String, nanSymbol As String, characters As String) As Double
Parameters
- formatPicture
- String
String that contains the format picture.
- infinitySymbol
- String
String that contains the infinity symbol.
- nanSymbol
- String
String that contains the NaN symbol.
- characters
- String
String that contains characters to format.
Returns
A unique index assigned to a decimal formatter object.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈