XML Script logo
Unpadded rounding value
Code
<Tmp __maxDP="-4" >
# \.third := 1 / 3 #This third: # \.third # has four decimal places
# \.quarter := 1 / 4 #This quarter: # \.quarter # only uses two decimal places
</Tmp>
Output
<Tmp >
This third: 0.3333 has four decimal places
This quarter: 0.25 only uses two decimal places
</Tmp>
Ref

x.1002

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