Class RealRepresentation.BigDecimalRep

    • Constructor Detail

      • BigDecimalRep

        BigDecimalRep​(BigDecimal dec)
        Constructs a newly allocated BigDecimalRep that represents given BigDecimal argument.
        Parameters:
        dec - the value to be represented by this BigDecimalRep.
      • BigDecimalRep

        BigDecimalRep​(String dStr)
        Constructs a newly allocated BigDecimalRep object that represents the floating-point value of type double represented by the string. The string is converted to a double value as if by the method Double.valueOf(java.lang.String).
        Parameters:
        dStr - a string to be converted to a BigDecimalRep.
        See Also:
        Double(String)