XML Script logo
Padded rounding value
Code
<Tmp __maxDP="4" >
# \.newthird := 1 / 3 #This third: # \.newthird # has four decimal places
# \.newquarter := 1 / 4 #This quarter: # \.newquarter # has four decimal places
</Tmp>
Output
<Tmp >
This third: 0.3333 has four decimal places
This quarter: 0.2500 has four decimal places
</Tmp>
Ref

x.1003

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