Show: Delphi C++
Display Preferences

System.Math.Min

From XE2 API Documentation
Jump to: navigation, search

Delphi

function Min(const A, B: Integer): Integer;
function Min(const A, B: Int64): Int64;
function Min(const A, B: UInt64): UInt64;
function Min(const A, B: Single): Single;
function Min(const A, B: Double): Double;
function Min(const A, B: Extended): Extended;

C++

extern PACKAGE int __fastcall Min(const int A, const int B)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Returns the lesser of two numeric values (Delphi only).

Call Min to compare two numeric values in Delphi. Min returns the smaller value of the two.

See Also

Personal tools
Previous Versions
Translations