question: public static Long convertBytesToKBytes ( String value ) { if ( null == value ) { return 0L ; } BigDecimal val = new BigDecimal ( value ) ; BigDecimal kbconverter = new BigDecimal ( KILOBYTECONVERTERVALUE ) ; BigDecimal result = val . divide ( kbconverter , RoundingMode . CEILING ) ; if ( result . longValue ( ) == 0 ) { return 1L ; } return result . longValue ( ) ; }
target:  convert Bytes to KiloBytes