10 Apr
2002
10 Apr
'02
6:48 p.m.
dorian santner writes:
<dtml-let percentage="duration/(planAffort)">
works fine with a given duration and planAffort (yes i checked planAffort<>0),
why cant i set <dtml-let percentage="round((duration/(planAffort)),2)">
or <dtml-let mylength="len(anyVariable)"> Name clashes are a big problem with DTML.
To alleviate it a bit, build in functions are not inside the DTML namespace but are attributes of it. You access them as "_.len", for example. The set of exposed builtin functions is severely limited, though... Dieter