NumberFormat
Overview
NumberFormat is a class in Aspose.Cells FOSS for Java.
Provides built-in number format functionality.
This class provides 4 methods for working with NumberFormat objects in Java programs.
Available methods include: getBuiltInFormat, getBuiltInFormatId, isBuiltInFormat, resolveFormatCode.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Methods
| Signature | Description |
|---|---|
getBuiltInFormat(formatId: int) → String | Gets the built-in format string for the specified format ID. |
isBuiltInFormat(formatCode: String) → boolean | Checks if the format code is a built-in format. |
getBuiltInFormatId(formatCode: String) → Integer | Gets the built-in format ID for the specified format code. |
resolveFormatCode(number: int, custom: String) → String | Resolves the format code for the given number and custom format. |