Class representing floating-point numbers.
operator +(rhs)
: Adds two floating-point numbers together.rhs
: The number to add to the current object.operator -(rhs)
: Subtracts two floating-point numbers.rhs
: The number to subtract from the current object.operator *(rhs)
: Multiplies two floating-point numbers.rhs
: The number to multiply by.operator /(rhs)
: Divides two floating-point numbers.rhs
: The number to divide by.operator unary +(rhs)
: Makes current number positive.rhs
: Ignored.operator unary -(rhs)
: Inverts sign of the current number.rhs
: Ignored.operator ==(rhs)
: Determines whether the current number is equal to the given number.rhs
: The number to compare the current number to.operator !=(rhs)
: Determines whether the current number is not equal to the given number.rhs
: The number to compare the current number to.operator <(rhs)
: Determines whether the current number is less than the given number.rhs
: The number to compare the current number to.operator >(rhs)
: Determines whether the current number is greater than the given number.rhs
: The number to compare the current number to.operator <=(rhs)
: Determines whether the current number is less than or equal to the given number.rhs
: The number to compare the current number to.operator >=(rhs)
: Determines whether the current number is greater than or equal to the given number.rhs
: The number to compare the current number to.bool()
: Returns Boolean representation of current object.float()
: Returns floating-point representation of current object.int()
: Returns integer representation of current object.str()
: Returns string representation of current object.