Overview | Statement List | Example


Absolute Value

Synopsis

ABSF(arg)

Description

Returns the absolute or unsigned value of the argument to a receiving variable or GRIP statement. The argument may be a numerical value, variable, or expression:

Statement

Assigned Value

X=ABSF(-50)
or
Y=150-200
X=ABSF(Y)
or
X=ABSF(150-200)
or
A=200
B=150
X=ABSF(B-A)

X equals 50

Y equals -50
X equals 50

X equals 50



X equals 50


Copyright ©2015 ºú¾ýNX¶þ´Î¿ª·¢¹ÙÍø£¨www.UGapi.com£© QQ:85585969 All Rights Reserved.