pibSafe

Safely converts a Double to pebibytes (PiB, 1024^5 bytes) using BigDecimal.

Return

The value multiplied by BinaryDataSize.petabyte as a BigDecimal.


Safely converts an Int to pebibytes (PiB, 1024^5 bytes) using BigInteger.

Return

The value multiplied by BinaryDataSize.petabyte as a BigInteger.


Safely converts a Long to pebibytes (PiB, 1024^5 bytes) using BigInteger.

Return

The value multiplied by BinaryDataSize.petabyte as a BigInteger.