Articles

[Collapse]TestComplete/viewarticle/88628/
 [Expand]General Information/viewarticle/88628/
 [Expand]Using Help System/viewarticle/81465/
 [Expand]Getting Started Tutorial/viewarticle/82003/
 [Expand]Using TestComplete/viewarticle/84431/
 [Expand]Testing Types/viewarticle/85355/
 [Expand]Applications Testing/viewarticle/83383/
 [Expand]Working With Application Objects and Controls/viewarticle/81481/
 [Expand]Samples and Tutorials/viewarticle/81997/
 [Collapse]References/viewarticle/82523/
  [Expand]Test Objects/viewarticle/82423/
  [Expand]Scripting Objects/viewarticle/88052/
  [Expand]Project and Project Item Objects/viewarticle/84209/
  [Expand]TestComplete Events/viewarticle/83126/
  [Collapse]Language Reference/viewarticle/87902/
   [Expand]JavaScript/viewarticle/84523/
    JScript/viewarticle/84536/
   [Expand]Python/viewarticle/84928/
    VBScript/viewarticle/83218/
   [Collapse]DelphiScript/viewarticle/85777/
     DelphiScript - Data Types/viewarticle/88537/
     DelphiScript - Using Arrays/viewarticle/82279/
     DelphiScript - Unit Structure/viewarticle/85742/
     DelphiScript - Functions and Procedures/viewarticle/80693/
     DelphiScript - If, Case and Loop Operations/viewarticle/85141/
     DelphiScript - Set Operators/viewarticle/83546/
     DelphiScript - Exception Handling/viewarticle/82862/
    [Collapse]DelphiScript Reference/viewarticle/87592/
     [Collapse]DelphiScript Routines/viewarticle/87393/
      [Expand]File and Folder Routines/viewarticle/84065/
      [Expand]Flow Control Routines/viewarticle/87116/
      [Collapse]Math Routines/viewarticle/87487/
        Abs Function/viewarticle/87197/
        Cos Function/viewarticle/85231/
        Exp Function/viewarticle/86960/
        Frac Function/viewarticle/85068/
        Int Function/viewarticle/83230/
        Ln Function/viewarticle/84395/
        Pi Function/viewarticle/84465/
        Random Function/viewarticle/83225/
        Randomize Procedure/viewarticle/85171/
        Round Function/viewarticle/83005/
        Sin Function/viewarticle/85401/
        Sqr Function/viewarticle/82338/
        Sqrt Function/viewarticle/87438/
        Trunc Function/viewarticle/83473/
      [Expand]Memory Management Routines/viewarticle/82942/
      [Expand]Miscellaneous Routines/viewarticle/83303/
      [Expand]String Routines/viewarticle/85299/
     DelphiScript - Unsupported Keywords/viewarticle/86470/
    C#Script/viewarticle/82015/
    C++Script/viewarticle/82016/
   [Expand]Functions Added to All Scripting Languages/viewarticle/86727/
  [Expand]User Form Components/viewarticle/83917/
   Regular Expressions Syntax/viewarticle/81060/
 [Expand]Other Tools That Help You Test Better/viewarticle/82893/
 [Expand]Licensing Guide/viewarticle/88365/
Updated: 7/26/2016 Applies To: TestComplete 12 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent
DelphiScript - Math Routines

Abs Function

The Abs function returns an absolute value of a number.

Declaration

Abs(Value) Parameters
Value [in] Required Float
Result     Float  

Description

Returns an absolute value of the Value argument.

Parameters

The function has the following parameter:

Value

Specifies the number to be processed.

Return Value

A float value that equals the absolute value of the specified value. If Value is empty, Abs returns 0.

See also
DelphiScript - List of Supported Routines and Variables


© 2016 SmartBear Software. All rights reserved.
Email Send feedback on this document