Function smartConvert

  • Parameters

    • bytes: number
    • comma: number = 3

    Returns {
        string: string;
        unit: string;
        value: number;
    }

    • string: string
    • unit: string
    • value: number