rounds at the digit with value 10decimalexponent concode_field_sep int C_2_POW_19 concode_elem_sep BigDecimal BD_2_POW_24 concode_elem_sep long _wholePart concode_elem_sep int FRAC_HALF concode_elem_sep int _fractionalPart concode_elem_sep int EXPONENT_OFFSET concode_elem_sep long MAX_REP_WHOLE_PART concode_elem_sep int _relativeDecimalExponent concode_elem_sep int LOG_BASE_10_OF_2_TIMES_2_POW_20 concode_field_sep BigDecimal getFractionalPart concode_elem_sep String getSignificantDecimalDigitsLastDigitRounded concode_elem_sep int getDecimalExponent concode_elem_sep String getSignificantDecimalDigits concode_elem_sep String getFractionalDigits concode_elem_sep NormalisedDecimal create concode_elem_sep String toString
NormalisedDecimal function ( ) { long loc0 = _wholePart ; if ( _fractionalPart >= FRAC_HALF ) { loc0 ++ ; } int loc1 = _relativeDecimalExponent ; if ( loc0 < MAX_REP_WHOLE_PART ) { return new NormalisedDecimal ( loc0 , 0 , loc1 ) ; } return new NormalisedDecimal ( loc0 / 10 , 0 , loc1 + 1 ) ; }