Here you can find the source of formatManey(BigDecimal date)
public static String formatManey(BigDecimal date)
//package com.java2s; import java.math.BigDecimal; public class Main { public static String formatManey(BigDecimal date) { java.text.DecimalFormat df = new java.text.DecimalFormat("#.00"); return df.format(date); }//w ww.j av a2 s .co m }