Description of the method
|Description:||.round() method returns the nearest integer of the given value.|
|Available for:||integer, real|
|OCL:||self.Amount.round() = 30|
|Description:||The example rule compares the nearest integer of the amount to the integer 30. If the nearest integer is 30, true will be returned.|
The XML snippet below would pass this check.
Also the XML snippet below would pass this check.
The snippet below however would not pass this check.