byteToMb static method

double byteToMb(
  1. int byte
)

convert Byte value to MegaByte value

Implementation

static double byteToMb(int byte) {
  double kb = byte / 1024;
  double mb = kb / 1024;
  return mb;
}