Package org.xcsp.common.domains
Class Values.Decimal
- java.lang.Object
-
- org.xcsp.common.domains.Values.Decimal
-
- All Implemented Interfaces:
Values.SimpleValue
- Enclosing class:
- Values
public static final class Values.Decimal extends Object implements Values.SimpleValue
A class to represent decimal values.
-
-
Field Summary
Fields Modifier and Type Field Description long
decimalPart
The integer and decimal parts of the decimal value.long
integerPart
The integer and decimal parts of the decimal value.
-
Constructor Summary
Constructors Constructor Description Decimal(long integerPart, long decimalPart)
Builds a decimal with the specified integer and decimal parts.
-