Skip to content

byte2mb ​

▸ byte2mb(num): number

byte 转换到 mb

参数 ​

NameType
numnumber

返回值 ​

number

示例

ts
byte2mb(1024) // 0.1

源码 ​

file.js