public String toString(Locale locale) { String symbol = currency.getSymbol(locale); if (!"$".equals(symbol)) { symbol = symbol + " "; } return symbol + NumberFormatter.commas(amount.doubleValue(), currency.getDefaultFractionDigits()); }
public String toNumericString() { return NumberFormatter.commas(amount.doubleValue(), currency.getDefaultFractionDigits()); }
@Override public String toString() { return getRealSymbol(currency) + NumberFormatter.commas(amount.doubleValue(), currency.getDefaultFractionDigits()); }