public NumberFormatter clone() { try { NumberFormatter numberFormatter = (NumberFormatter) super.clone(); numberFormatter.format = (DecimalFormat) this.format.clone(); return numberFormatter; } catch (CloneNotSupportedException e) { throw AWBusinessException.wrapUnhandledException(logger, e); } }
public static String formatIntegerAsString(Object attributeValue) { if (attributeValue == null) return "0"; return (String) NUMBER_FORMATTER_WOUT_GRP_SYM.format(null, null, attributeValue); }