Java tutorial
//package com.java2s; public class Main { private static String getFileRoundSize(long paramLong) { return String.valueOf(Math.round(10.0F * ((float) paramLong / 1024.0F)) / 10.0F); } }