Class FloatingPoint

java.lang.Object
java.lang.Number
com.ptc.core.meta.common.FloatingPoint
All Implemented Interfaces:
Externalizable, Serializable, Comparable, Evolvable

public final class FloatingPoint extends Number implements Comparable, Evolvable, Externalizable
Attribute content wrapper for Floating Point. Each FloatingPoint content will have a double value and a int precision. Those attributes can only be set from the constructor so instances are immutable.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • add

      public static FloatingPoint add(FloatingPoint operandOne, FloatingPoint operandTwo)
      Adds the operands and returns the sum.

      Supported API: true
      Parameters:
      operandOne - The first operand to sum.
      operandTwo - The second operand to sum.
      Returns:
      The sum of the addition. May return null depending on the inputs.