/** * Retrieve (in string format) from this field. * @return The string of the recriprical of this field's value. */ public String getString() { String string = Constants.BLANK; NumberField numberField = (NumberField)this.getField(); if (this.getNextConverter().getLength() != 0) { double dValue = this.getValue(); if (dValue != 0) dValue = 1 / dValue; if (m_mfRecip == null) m_mfRecip = NumberFormat.getInstance(); m_mfRecip.setMinimumFractionDigits(numberField.getScale()); m_mfRecip.setMaximumFractionDigits(numberField.getScale()); string = m_mfRecip.format(dValue); } return string; } /**
/** * Retrieve (in string format) from this field. * @return The string of the recriprical of this field's value. */ public String getString() { String string = Constants.BLANK; NumberField numberField = (NumberField)this.getField(); if (this.getNextConverter().getLength() != 0) { double dValue = this.getValue(); if (dValue != 0) dValue = 1 / dValue; if (m_mfRecip == null) m_mfRecip = NumberFormat.getInstance(); m_mfRecip.setMinimumFractionDigits(numberField.getScale()); m_mfRecip.setMaximumFractionDigits(numberField.getScale()); string = m_mfRecip.format(dValue); } return string; } /**
/** * Retrieve (in string format) from this field. * @return The string of the recriprical of this field's value. */ public String getString() { String string = Constants.BLANK; NumberField numberField = (NumberField)this.getField(); if (this.getNextConverter().getLength() != 0) { double dValue = this.getValue(); if (dValue != 0) dValue = 1 / dValue; if (m_mfRecip == null) m_mfRecip = NumberFormat.getInstance(); m_mfRecip.setMinimumFractionDigits(numberField.getScale()); m_mfRecip.setMaximumFractionDigits(numberField.getScale()); string = m_mfRecip.format(dValue); } return string; } /**