Floating Point Intrinsic Functions - Min Method

Returns the smallest number

Member of Floating Point Intrinsic Functions (PRIM_LIBI.IFloatingPointIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)FloatResulting number
Float1*InputFloatComparison value
Float2*Input (Optional)FloatComparison value
Float3*Input (Optional)FloatComparison value
Float4*Input (Optional)FloatComparison value
Float5*Input (Optional)FloatComparison value
Float6*Input (Optional)FloatComparison value
Float7*Input (Optional)FloatComparison value
Float8*Input (Optional)FloatComparison value
Float9*Input (Optional)FloatComparison value

Details

Min compares two or more values, returning the smallest.

Example

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