Here you can find the source of _getStrMoney(Object money)
private static String _getStrMoney(Object money)
//package com.java2s; //License from project: Apache License public class Main { private static String _getStrMoney(Object money) { String strMoney = "0"; if (money != null) { strMoney = money.toString(); if (strMoney.equals("")) strMoney = "0"; }//www. j a v a2 s . c o m return strMoney; } }