Here you can find the source of getLetJp(BigDecimal nl)
public static BigDecimal getLetJp(BigDecimal nl)
//package com.java2s; /*/*from www . j a v a2s . co m*/ * Copyright ? 2007 * Released under the MIT license * http://opensource.org/licenses/mit-license.php */ import java.math.BigDecimal; public class Main { public static BigDecimal getLetJp(BigDecimal nl) { return nl.divide(new BigDecimal(3600000), 7, BigDecimal.ROUND_HALF_UP); } }