DIAdem API Reference

Function: MinV

  • Updated2023-02-21
  • 2 minute(s) read

Determines the smaller of two numbers.

ReturnValue = MinV(Value1,Value2)

Input Parameters

Value1 Specifies a numeric value, a variable, or a data channel.
Value2 Specifies a numeric value, a variable, or a data channel.

Return Parameters

ReturnValueReturns numeric values.
Note  Use the command ValMin instead of the function MinV if you are not calculating quantity-based because the ValMin command is faster.
The physical input quantities and the result quantities are the same.
The Input and Result Quantities for Quantity-Based Calculations page contains an overview of the input quantities and result quantities of all functions. Refer to the Help page Calculating Quantity-Based and Non-Quantity-Based in DIAdem for the conditions and rules for quantity-based calculations.

Related Functions

Command: ValEqual | Command: ValEqualGT | Command: ValEqualLT | Command: ValGT | Command: ValLT | Command: ValMax | Command: ValMin | Function: ^ | Function: Abs | Function: Ceil | Function: Deg | Function: Eex | Function: Exp | Function: Fak | Function: Floor | Function: Frac | Function: Lg | Function: Ln | Function: MaxV | Function: MaxV | Function: Mod | Function: Rad | Function: Random | Function: Rnd | Function: Round | Function: RTP (Real To Part of Date) | Function: RTT (Real to Text) | Function: Sign | Function: SND | Function: Sqr | Function: Sqrt | Function: Trunc | Function: VU