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.mul - Function Up: quanta - Tool Previous: quanta.add - Function


quanta.sub - Function



Package general
Module quanta
Tool quanta


subtract quantities


Synopsis
sub(v, a)


Arguments

v in value
    Allowed: quantity or string
a in value
    Allowed: quantity or string
    Default: '0'


Returns
quantity


Description
sub subtracts two quantities



Example
- dq.sub('5m', '2yd')   
[value=3.1712, unit=m]





next up previous contents index
Next: quanta.mul - Function Up: quanta - Tool Previous: quanta.add - 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