Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/abs

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Abs Function ✔ Appearance ✔ Standard ✔ Console Syntax positiveValue = abs( expr ) Description The abs function returns the absolute value of the numeric expression expr. The absolute value of a number is its distance from zero. Thus, the number 3 has an absolute value of 3, while the number -12.34 has an absolute value of 12.34. The absolute value of zero is zero. Notes The standard abs function can accept either an integer or a floating-point expr parameter. FB provides also the usr abs routine which originally used to execute faster with 68K applications. This is no longer the case, but the function is still present in the language for backward compatibility. See Also usr abs Language Reference