number

Common
JVM
JS
Native
1.0
val number: NumberHexFormat
(source)

Specifies the hexadecimal format used for formatting and parsing numeric values.

This property defines how numeric values are formatted into hexadecimal strings and parsed back from strings into numeric values. It is utilized by functions like Int.toHexString for formatting and String.hexToInt for parsing. These functions are available for all integer numeric types.

Refer to NumberHexFormat for details about the available format options, their impact on formatting and parsing results, and their default settings.