PHP-Fusion Development

calculate_byte()

Returns nearest data unit.

Versions: 9

calculate_byte( int $total_bit ) : int

Parameters

$total_bit (int) (Required) Number of bytes.

Return Values

(int)

Examples

echo calculate_byte(15728640);