XML Script logo
Formatting output
Usage

Output can be forced into defined formats by using the format() function. At present, only numbers can be formatted. Format() takes three arguments, the number to be formatted, and two integers specifying the number of digits to pad before and after the decimal point. __maxDP is overridden by the values specified.

Examples

Formatting and truncating

Formatting and maxDP used together

Version

1.0

Ref

t.12

Date

28th June 1999

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited