Java tutorial
//package com.java2s; public class Main { public static String convertKB2MB(String byteInKb) { int kb = Integer.parseInt(byteInKb); return String.valueOf(kb >>> 10); } }