'' examples/manual/math/abs.bas
''
'' Example extracted from the FreeBASIC Manual
'' from topic 'ABS'
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgAbs
'' --------

Dim n As Integer

Print Abs( -1 )
Print Abs( -3.1415 )
Print Abs( 42 )
Print Abs( n )

n = -69

Print Abs( n )
