Java tutorial
//package com.java2s; public class Main { public static String MemoryToString(long paramLong) { return String.valueOf(paramLong / 1024L / 1024L) + "M"; } }