NumberFormat
Overview
NumberFormat is a class in Aspose.Cells FOSS for C++.
Provides number format operations.
This class provides 5 methods for working with NumberFormat objects in C++ programs.
Available methods include: GetBuiltInFormat, GetBuiltInFormatId, IsBuiltInFormat, NumberFormat, ResolveFormatCode.
All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
NumberFormat() | Calls NumberFormat on this NumberFormat instance. |
GetBuiltInFormat(formatId: int) → std::string | Gets the built in format. The format id. The string. |
GetBuiltInFormatId(formatCode: std::string_view) → std::optional<int> | Gets the built in format id. The format code. The int. |
IsBuiltInFormat(formatCode: std::string_view) → bool | Performs is built in format. The format code. true if the condition is met; otherwise, false. |
ResolveFormatCode(number: int, custom: std::string_view) → std::string | Resolves the format code. The number. The custom format code. The resolved format code string. |