Next Previous Up Contents
Next: tcat: Table Concatenater
Up: calc: Calculator
Previous: Usage

A.1.2 Examples

Here are some examples of using calc:

stilts calc 1+2
Calculates one plus two. Writes "3" to standard output.
stilts calc 'isoToMjd("2005-12-25T00:00:00")'
Works out the Modified Julian Day corresponding to Christmas 2005. The output is "53729.0".


Next Previous Up Contents
Next: tcat: Table Concatenater
Up: calc: Calculator
Previous: Usage

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note 256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk