Here you can find the source of getMoneyConversion(int money, int divisor)
public static BigDecimal getMoneyConversion(int money, int divisor)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { public static BigDecimal getMoneyConversion(int money, int divisor) { BigDecimal a = new BigDecimal(money); BigDecimal b = new BigDecimal(divisor); return a.divide(b); }/*from w ww . j a va 2 s. c o m*/ }