Java Byte Value Format bytesToMegabytes(long bytes)

Here you can find the source of bytesToMegabytes(long bytes)

Description

bytes To Megabytes

License

Open Source License

Declaration

private static long bytesToMegabytes(long bytes) 

Method Source Code

//package com.java2s;

public class Main {
    private static final long MEGABYTE = 1024L * 1024L;

    private static long bytesToMegabytes(long bytes) {
        return bytes / MEGABYTE;
    }//  w w w.j a  va  2s . c o m
}

Related

  1. bytesToMagaBytes(long bytes)
  2. BytesToMB(long kb)
  3. bytesToMB(long sizeInBytes)
  4. bytesToMBString(long bytes)
  5. bytesToMegaBytes(long bytes)
  6. byteToHuman(long bytes, boolean si)
  7. byteToHumanreadable(long b)
  8. byteToMeg(long bytes)