abs()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/abs() · 309 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& abs()
 
  Syntax: abs(<number>)
 
  This function returns the absolute value of its argument. 
  The <number> may be a floating point number, as well as return a 
  floating point number.
 
  Example:
 
  > say abs(4)
  You say "4"
  > say abs(-4)
  You say "4"
  > say abs(0)
  You say "0"

Site Stats

Snippets: 1791
Codebases: 571