CSSSimpleValueWithUnit function ( @ Nonnull final BigDecimal arg0 ) { return divide ( arg0 , CCSS . CSS_MAXIMUM_FRACTION_DIGITS , RoundingMode . HALF_UP ) ; }
get a new object with the same unit but an divided value . by default ccss #css_maximum_fraction_digits is used as scale and roundingmode #half_up is used as rounding mode . concode_field_sep ECSSUnit m_eUnit concode_elem_sep BigDecimal m_aValue concode_field_sep CSSSimpleValueWithUnit add concode_elem_sep CSSSimpleValueWithUnit add concode_elem_sep long getAsLongValue concode_elem_sep String getFormatted concode_elem_sep double getValue concode_elem_sep BigDecimal getAsBigDecimalValue concode_elem_sep int hashCode concode_elem_sep CSSSimpleValueWithUnit setValue concode_elem_sep CSSSimpleValueWithUnit setValue concode_elem_sep CSSSimpleValueWithUnit setUnit concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep int getAsIntValue concode_elem_sep ECSSUnit getUnit concode_elem_sep CSSSimpleValueWithUnit multiply concode_elem_sep CSSSimpleValueWithUnit multiply concode_elem_sep CSSSimpleValueWithUnit substract concode_elem_sep CSSSimpleValueWithUnit substract