[Collapse]TestComplete/viewarticle/63445/
 [Expand]General Information/viewarticle/63445/
 [Expand]Using Help System/viewarticle/55799/
 [Expand]Getting Started Tutorial/viewarticle/56246/
 [Expand]Using TestComplete/viewarticle/57875/
 [Expand]Testing Types/viewarticle/62721/
 [Expand]Applications Testing/viewarticle/62606/
 [Expand]Working With Application Objects and Controls/viewarticle/55815/
 [Expand]Samples and Tutorials/viewarticle/56239/
 [Collapse]References/viewarticle/57878/
  [Expand]Test Objects/viewarticle/57881/
  [Expand]Scripting Objects/viewarticle/57882/
  [Expand]Project and Project Item Objects/viewarticle/57880/
  [Expand]TestComplete Events/viewarticle/56945/
  [Collapse]Language Reference/viewarticle/57879/
    VBScript/viewarticle/58093/
    JScript/viewarticle/58094/
   [Collapse]DelphiScript/viewarticle/58140/
     DelphiScript - Data Types/viewarticle/59848/
     DelphiScript - Using Arrays/viewarticle/59844/
     DelphiScript - Unit Structure/viewarticle/59845/
     DelphiScript - Functions and Procedures/viewarticle/55127/
     DelphiScript - If, Case and Loop Operations/viewarticle/59842/
     DelphiScript - Set Operators/viewarticle/59843/
     DelphiScript - Exception Handling/viewarticle/57709/
    [Collapse]DelphiScript Reference/viewarticle/59850/
     [Collapse]DelphiScript Routines/viewarticle/58396/
      [Expand]File and Folder Routines/viewarticle/59786/
      [Expand]Flow Control Routines/viewarticle/59804/
      [Collapse]Math Routines/viewarticle/59808/
        Abs Function/viewarticle/59813/
        Cos Function/viewarticle/59818/
        Exp Function/viewarticle/59812/
        Frac Function/viewarticle/59815/
        Int Function/viewarticle/59807/
        Ln Function/viewarticle/59809/
        Pi Function/viewarticle/59811/
        Random Function/viewarticle/59810/
        Randomize Procedure/viewarticle/59817/
        Round Function/viewarticle/59806/
        Sin Function/viewarticle/59814/
        Sqr Function/viewarticle/59816/
        Sqrt Function/viewarticle/59819/
        Trunc Function/viewarticle/59805/
      [Expand]Memory Management Routines/viewarticle/59823/
      [Expand]Miscellaneous Routines/viewarticle/59826/
      [Expand]String Routines/viewarticle/59833/
     [Expand]DelphiScript Objects/viewarticle/59847/
     DelphiScript - Unsupported Keywords/viewarticle/59846/
    C++Script/viewarticle/56263/
    C#Script/viewarticle/56264/
   [Expand]Functions Added to All Scripting Languages/viewarticle/59117/
  [Expand]User Form Components/viewarticle/56689/
 [Expand]Other Tools That Help You Test Better/viewarticle/63442/
 [Expand]TestComplete 10 Licensing Guide/viewarticle/63451/
Updated: 7/16/2014 Applies To: TestComplete 10 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


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