Articles

[Collapse]TestComplete/viewarticle/75299/
 [Expand]General Information/viewarticle/75299/
 [Expand]Using Help System/viewarticle/68624/
 [Expand]Getting Started Tutorial/viewarticle/73031/
 [Expand]Using TestComplete/viewarticle/70372/
 [Expand]Testing Types/viewarticle/71476/
 [Expand]Applications Testing/viewarticle/69187/
 [Expand]Working With Application Objects and Controls/viewarticle/72879/
 [Expand]Samples and Tutorials/viewarticle/71571/
 [Collapse]References/viewarticle/68144/
  [Expand]Test Objects/viewarticle/70046/
  [Expand]Scripting Objects/viewarticle/74611/
  [Expand]Project and Project Item Objects/viewarticle/70125/
  [Expand]TestComplete Events/viewarticle/68889/
  [Collapse]Language Reference/viewarticle/74441/
    VBScript/viewarticle/68990/
    JScript/viewarticle/70500/
    Python Reference/viewarticle/70954/
   [Collapse]DelphiScript/viewarticle/71968/
     DelphiScript - Data Types/viewarticle/75189/
     DelphiScript - Using Arrays/viewarticle/68111/
     DelphiScript - Unit Structure/viewarticle/71927/
     DelphiScript - Functions and Procedures/viewarticle/74361/
     DelphiScript - If, Case and Loop Operations/viewarticle/71213/
     DelphiScript - Set Operators/viewarticle/69375/
     DelphiScript - Exception Handling/viewarticle/73898/
    [Collapse]DelphiScript Reference/viewarticle/74071/
     [Collapse]DelphiScript Routines/viewarticle/73854/
      [Expand]File and Folder Routines/viewarticle/69965/
      [Expand]Flow Control Routines/viewarticle/73527/
      [Collapse]Math Routines/viewarticle/73952/
        Abs Function/viewarticle/73621/
        Cos Function/viewarticle/71324/
        Exp Function/viewarticle/69828/
        Frac Function/viewarticle/71131/
        Int Function/viewarticle/69006/
        Ln Function/viewarticle/68478/
        Pi Function/viewarticle/70415/
        Random Function/viewarticle/69000/
        Randomize Procedure/viewarticle/71247/
        Round Function/viewarticle/68740/
        Sin Function/viewarticle/70007/
        Sqr Function/viewarticle/67928/
        Sqrt Function/viewarticle/73901/
        Trunc Function/viewarticle/69288/
      [Expand]Memory Management Routines/viewarticle/68668/
      [Expand]Miscellaneous Routines/viewarticle/69093/
      [Expand]String Routines/viewarticle/71404/
     DelphiScript - Unsupported Keywords/viewarticle/72787/
    C++Script/viewarticle/70772/
    C#Script/viewarticle/71543/
   [Expand]Functions Added to All Scripting Languages/viewarticle/73082/
  [Expand]User Form Components/viewarticle/69800/
   Regular Expressions Syntax/viewarticle/75798/
 [Expand]Other Tools That Help You Test Better/viewarticle/68606/
 [Expand]TestComplete Licensing Guide/viewarticle/74980/
Updated: 7/16/2015 Applies To: TestComplete 11 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


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