Next Previous Up Contents
Next: Fluxes
Up: Functions
Previous: Maths

7.4.4 Formats

Functions for formatting numeric values.

formatDecimal( value, dp )
Turns a floating point value into a string with a given number of decimal places.
formatDecimal( value, format )
Turns a floating point value into a formatted string. The format string is as defined by Java's java.text.DecimalFormat class.


Next Previous Up Contents
Next: Fluxes
Up: Functions
Previous: Maths

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