System.Math.MaxValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MaxValue(const Data: array of Single): Single;
function MaxValue(const Data: array of Double): Double;
function MaxValue(const Data: array of Extended): Extended;

C++

extern DELPHI_PACKAGE float __fastcall MaxValue(const float *Data, const System::NativeInt Data_High)/* overload */;

Properties

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

Description

Returns the largest signed value in an array.

MaxValue returns the largest signed value in the Data array. In C++, the Data_Size parameter gives the index of the last element of the array (one less than the number of elements).

See Also