System.Sqrt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Sqrt(const X: Extended): Extended;

C++

extern DELPHI_PACKAGE Extended __fastcall Sqrt(const Extended X);

Properties

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

Description

Returns the square root of X.

X is a Delphi floating-point expression. The result is the square root of X.

See Also


Code Examples