Metis Smart Modeling - Rules
From Metis Documentation
(→Formulas) |
(→Formulas) |
||
Line 37: | Line 37: | ||
|- | |- | ||
| 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" | | ||
- | Abs | + | '''Abs''' |
| 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" | | ||
Calculates the absolute value of a numeric expression (integer or real). | Calculates the absolute value of a numeric expression (integer or real). | ||
Line 50: | Line 50: | ||
|- | |- | ||
| 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" | | ||
- | Round | + | '''Round''' |
| 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" | | ||
Calculates the rounded value of a numeric value according to the specified number of decimal. | Calculates the rounded value of a numeric value according to the specified number of decimal. | ||
Line 67: | Line 67: | ||
0.5 and 0.99: the number is rounded to 1. For example, 3.7 is rounded to 4 (no decimal). | 0.5 and 0.99: the number is rounded to 1. For example, 3.7 is rounded to 4 (no decimal). | ||
+ | |- | ||
+ | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | '''IsOdd''' | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | Identifies an odd number | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | <Result> = IsOdd(<Number>) | ||
+ | |||
+ | '''Parameter Details''' | ||
+ | |||
+ | <Result>: Boolean true if the specified number is odd, 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" | | ||
+ | FUNCTION NAME | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | DESCRIPTION | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | SYNTAX | ||
+ | |- | ||
+ | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | FUNCTION NAME | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | DESCRIPTION | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | SYNTAX | ||
|- | |- | ||
| 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" | |