Resolved! JavaScript - How can I covert bytes to mega bytes?
I am trying the below code to convert bytes to mb but script returning output in GB. var bytes = 68718940160; function readableBytes(bytes) { var i = Math.floor(Math.log(bytes) / Math.log(1024)), sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB'...
