XML Script logo
Rounding numbers
Usage

Numbers can be rounded by setting the __maxDP attribute. It can be set for any element and will be inherited by all its sub-element. Valid values are +12 through -12, the sign specifying 'force padding' (plus) or 'don't pad' (minus). The default value for __maxDP is -5.

Examples

Default rounding value

Unpadded rounding value

Padded rounding value

Version

1.0

Ref

t.10

Date

14 March 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