-
- Signature:
-
java.lang.String formatBytes(java.lang.Long)
- Description:
-
Format the given bytes to nearest 10n with IEC binary unit (KiB, MiB, etc) with rounding
precision of 1 fraction. For example:
- 1023 bytes will appear as 1023 B
- 1024 bytes will appear as 1.0 KiB
- 500000 bytes will appear as 488.3 KiB
- 1048576 bytes will appear as 1.0 GiB
-
Function Information
Info | Value |
Function Class | org.omnifaces.el.functions.Numbers |
Function Signature | java.lang.String formatBytes(java.lang.Long) |
Display Name | None |
Output generated by Vdldoc View Declaration Language Documentation Generator.