Metis Smart Modeling - Rules
From Metis Documentation
(→Formulas) |
(→Formulas) |
||
Line 82: | Line 82: | ||
|- | |- | ||
| width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
- | + | '''IsEven''' | |
| width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
- | + | Identifies an even number | |
| width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
- | + | <Result> = IsEven(<Number>) | |
+ | |||
+ | '''Parameter Details''' | ||
+ | |||
+ | <Result>: Boolean true if the specified number is even, False otherwise. | ||
+ | <Number>: Integer numeric expression or integer number Integer numeric expression or integer number to identify. | ||
|- | |- | ||
| width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
- | + | '''Max''' | |
| width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
- | + | Returns the greatest of the value passed in parameter | |
| width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
- | + | Result> = Max(<Value 1> [,<Value 2> [,<Value N>]]) | |
+ | |||
+ | '''Parameter Details''' | ||
+ | |||
+ | <Result>: Character string, integer or real the greatest of the values passed in parameter. | ||
+ | |||
+ | <Value 1>: Character string, integer or real value to compare. | ||
+ | |||
+ | <Value 2>: Optional character string, integer or real value to compare. | ||
+ | |||
+ | <Value N>: Optional character string, integer or real value to compare. | ||
|- | |- | ||
| width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | |