[][src]Macro byte_unit::n_zb_bytes

macro_rules! n_zb_bytes {
    () => { ... };
    ($x:expr) => { ... };
    ($x:expr, $t:ty) => { ... };
}

Convert n ZB to bytes.

Examples

extern crate byte_unit;

let result = byte_unit::n_zb_bytes!(4);

assert_eq!(4000000000000000000000, result);
extern crate byte_unit;

let result = byte_unit::n_zb_bytes!(2.5, f64);

assert_eq!(2500000000000000000000, result);