Difference between revisions of "Manuals/calci/ABS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<div style="font-size:30px">'''ABS(n)'''</div><br/>
 
<div style="font-size:30px">'''ABS(n)'''</div><br/>
 
 
*Where <math>n</math> is the any real number.
 
*Where <math>n</math> is the any real number.
 
 
==Description==
 
==Description==
 
*This function gives the absolute value of a given number.  
 
*This function gives the absolute value of a given number.  

Revision as of 23:39, 19 November 2013

ABS(n)


  • Where is the any real number.

Description

  • This function gives the absolute value of a given number.
  • Here is the real number which we want to convert to absolute value of .
  • The absolute value of a real number is its distance from 0 on the number line.
  • Absolute value of a number is always

Examples

  • ABS(8)=8
  • ABS(-5)=5
  • ABS(1/2)=0.5
  • ABS(-1/4)=0.25

See Also


References

Absolute_value