pbSafe

Safely converts a Double to petabytes (PB, 1000^5 bytes) using BigDecimal.

Return

The value multiplied by DecimalDataSize.petabyte as a BigDecimal.


Safely converts an Int to petabytes (PB, 1000^5 bytes) using BigInteger.

Return

The value multiplied by DecimalDataSize.petabyte as a BigInteger.


Safely converts a Long to petabytes (PB, 1000^5 bytes) using BigInteger.

Return

The value multiplied by DecimalDataSize.petabyte as a BigInteger.