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

SignatureDescription
getBuiltInFormat(formatId: int)StringGets the built-in format string for the specified format ID.
isBuiltInFormat(formatCode: String)booleanChecks if the format code is a built-in format.
getBuiltInFormatId(formatCode: String)IntegerGets the built-in format ID for the specified format code.
resolveFormatCode(number: int, custom: String)StringResolves the format code for the given number and custom format.

See Also