Documentation API of the 'javax.measure.DecimalMeasure' Java class
DecimalMeasure
javax.measure

Class DecimalMeasure<Q extends Quantity>

  • All Implemented Interfaces:
    Serializable, Comparable<Measurable<Q>>, Measurable<Q>


    public class DecimalMeasure<Q extends Quantity>extends Measure<BigDecimal,Q>

    This class represents a measure whose value is an arbitrary-precision decimal number.

    When converting, applications may supply the java.math.Context:

             DecimalMeasure<Velocity> c = DecimalMeasure.valueOf("299792458 m/s");         DecimalMeasure<Velocity> milesPerHour = c.to(MILES_PER_HOUR, MathContext.DECIMAL128);         System.out.println(milesPerHour);                  > 670616629.3843951324266284896206156 mph     
    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.