filmov
tv
Java 12 new features | Compact Number Formatting in java JDK 12
Показать описание
This video explains what is compact number formatting in java jdk 12.
What is compact number format: Compact number formatting refers to the representation of a number in a short or human readable form.
For example: in the en_US locale, 1000 can be formatted as "1K" and 1000000 can be formatted as "1M", depending upon the style specified by NumberFormat.Style.
The compact number formats are defined by LDML's specification for Compact Number Formats. To obtain an instance.
JDK API & Factory class:
NumberFormat adds support for formatting a number in its compact form.
Use one of the factory methods given by NumberFormat for compact
Number formatting. For example:
LDML : Local Data Markup Language
#JavaBeam #JDK12NewFeatures #CompactNumberFormatInJava12 #Java #CompactNumberFormatInJava
What is compact number format: Compact number formatting refers to the representation of a number in a short or human readable form.
For example: in the en_US locale, 1000 can be formatted as "1K" and 1000000 can be formatted as "1M", depending upon the style specified by NumberFormat.Style.
The compact number formats are defined by LDML's specification for Compact Number Formats. To obtain an instance.
JDK API & Factory class:
NumberFormat adds support for formatting a number in its compact form.
Use one of the factory methods given by NumberFormat for compact
Number formatting. For example:
LDML : Local Data Markup Language
#JavaBeam #JDK12NewFeatures #CompactNumberFormatInJava12 #Java #CompactNumberFormatInJava