Here you can find the source of fromLongToBigDecimal(long longValue)
public static BigDecimal fromLongToBigDecimal(long longValue)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static BigDecimal fromLongToBigDecimal(long longValue) { double doubleValue = ((double) longValue / 100.0); return new BigDecimal(doubleValue); }/*from w w w.j a va 2 s. c o m*/ }