Metis Smart Modeling - Rules
From Metis Documentation
(→What is a rule?) |
(→Formulas) |
||
Line 122: | Line 122: | ||
<Value N>: 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" | | ||
+ | '''Min''' | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | Returns the smallest of the value passed in parameter | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | <Result> = Min(<Value 1> [,<Value 2> [,<Value N>]]) | ||
+ | |||
+ | '''Parameter Details''' | ||
+ | |||
+ | <Result>: Character string, integer or real the smallest 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" | | ||
+ | '''DecimalPart''' | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | Returns the decimal part of a number | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | <Result> = DecimalPart(<Number>) | ||
+ | |||
+ | '''Parameter Details''' | ||
+ | |||
+ | <Result>: Real decimal part sought. | ||
+ | |||
+ | <Number>: Real number to use. | ||
+ | |- | ||
+ | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | '''IntegerPart''' | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | Returns the integer part of a number | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | <Result> = IntegerPart(<Number>) | ||
+ | |||
+ | Parameter Details | ||
+ | |||
+ | <Result>: Real decimal part sought. Corresponds to the largest integer smaller than or equal to <Number>. | ||
+ | |||
+ | <Number>: Real number to use. | ||
+ | |- | ||
+ | | width="20%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | '''Power''' | ||
+ | | width="30%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
+ | Raises a number to a power | ||
+ | | width="50%" style="border-style: solid; border-color: grey; border-width: 0 0 1px 0" | | ||
+ | <Result> = Power(<Number to Raise>, <Exponent>) | ||
+ | |||
+ | '''Parameter Details''' | ||
+ | |||
+ | <Result>: Real result of the <Number to Raise> to the power of <Exponent>. | ||
+ | |||
+ | <Number to Raise>: Integer or real number to raise to the power. | ||
+ | |||
+ | <Exponent>: Integer or real exponent. | ||
|- | |- | ||
| 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" | |