Fixed Point Intrinsic Functions - Min Method

Returns the smallest number

Member of Fixed Point Intrinsic Functions (PRIM_LIBI.IFixedPointIntrinsics)


NameTypeData TypeDescription
Result*Result (Optional)DecimalResulting number
Decimal1*InputDecimalComparison value
Decimal2*Input (Optional)DecimalComparison value
Decimal3*Input (Optional)DecimalComparison value
Decimal4*Input (Optional)DecimalComparison value
Decimal5*Input (Optional)DecimalComparison value
Decimal6*Input (Optional)DecimalComparison value
Decimal7*Input (Optional)DecimalComparison value
Decimal8*Input (Optional)DecimalComparison value
Decimal9*Input (Optional)DecimalComparison value


Min compares two or more values, returning the smallest.


In this example, where Value1, Value2 and Value3 contain 156, -987 and 456, the result would be -987.
#Result := #Value1.Min( #Value2 #Value3 )

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2