Difference between revisions of "Manuals/calci/ABS"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="font-size:30px">'''ABS(Number)'''</div><br/> | <div style="font-size:30px">'''ABS(Number)'''</div><br/> | ||
*<math>Number</math> is indicating the real value. | *<math>Number</math> is indicating the real value. | ||
+ | **ABS(), returns the absolute value of a number. | ||
==Description== | ==Description== | ||
Line 9: | Line 10: | ||
*Absolute value of a number is always <math>+ve</math>. | *Absolute value of a number is always <math>+ve</math>. | ||
*This function is used to remove negative sign from a given number. | *This function is used to remove negative sign from a given number. | ||
− | *Absolute value is denoted by <math> | + | *Absolute value is denoted by <math>||</math>. |
*i.e.,ABS(Number)=|Number|. | *i.e.,ABS(Number)=|Number|. | ||
*Also <math>|7|=\sqrt{7^2}</math>. | *Also <math>|7|=\sqrt{7^2}</math>. | ||
− | ==ZOS | + | ==ZOS== |
*The syntax is to calculate ABS in ZOS is <math>ABS(Number)</math>. | *The syntax is to calculate ABS in ZOS is <math>ABS(Number)</math>. | ||
Line 36: | Line 37: | ||
==References== | ==References== | ||
[http://en.wikipedia.org/wiki/Absolute_value Absolute_value] | [http://en.wikipedia.org/wiki/Absolute_value Absolute_value] | ||
+ | |||
+ | |||
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
+ | *[[ Z3 | Z3 home ]] |
Latest revision as of 17:25, 13 August 2018
ABS(Number)
- is indicating the real value.
- ABS(), returns the absolute value of a number.
Description
- This function gives the absolute value of a given number.
- Here is the real value which we want to find absolute value of that number.
- The absolute value of a real number is its distance from 0(origin) on the number line.
- Absolute value of a number is always .
- This function is used to remove negative sign from a given number.
- Absolute value is denoted by .
- i.e.,ABS(Number)=|Number|.
- Also .
ZOS
- The syntax is to calculate ABS in ZOS is .
- is indicating the real value.
- For e.g.,ABS(-16)*-ABS(-4)/((ABS(-4))^2*ABS(-2)).
Examples
- ABS(8) = 8
- ABS(-5) = 5
- ABS(1/2) = 0.5
- ABS(-1/4) = 0.25
Related Videos
See Also
References