<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)"> Thnx Dorian