From Stealth Client

Jump to: navigation, search

Math

Abs

function Abs(X:Integer):Cardinal

Returns the absolute value of X.

Example 1:

AddToSystemJournal(IntToStr(Abs(-10)));
AddToSystemJournal(IntToStr(Abs(10)));
AddToSystemJournal(IntToStr(Abs(0)));

The result of:

10
10
0

IntToHex

function IntToHex(Value: Integer; Digits: Integer): String;

Power

function Power(Base : Extended;Exponent : Extended) : Extended;

Random

function Random(const ARange: Integer): Integer;

RandomRange

function RandomRange(const AFrom, ATo: Integer): Integer;

Randomize

procedure Randomize

StrToBool

function StrToBool(constS : string) : Boolean;


Pages in category "Math"

The following 7 pages are in this category, out of 7 total.

D

D cont.

D cont.