Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: quanta.ceil - Function Up: quanta - Tool Previous: quanta.atan2 - Function


quanta.abs - Function



Package general
Module quanta
Tool quanta


absolute value of quantity


Synopsis
abs(v)


Arguments

v in value
    Allowed: quantity or string


Returns
quantity


Description
abs gives absolute value of quantity



Example
- dq.abs('-5km/s')
[value=5, unit=km/s]





next up previous contents index
Next: quanta.ceil - Function Up: quanta - Tool Previous: quanta.atan2 - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01