30 May
2002
30 May
'02
11:25 p.m.
This works: <dtml-var amount fmt="%.2f"> But suppose I go: <dtml-let amountformat="'%.2f'"> This doesn't work: <dtml-var amount fmt=amountformat> Nor this: <dtml-var amount fmt="amountformat"> </dtml-let> I just get Error Type: TypeError Error Value: not all arguments converted With a dateobject it's easier thanks to the strftime() method of any date object. What about strings, ints and floats in DTML?? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.361 / Virus Database: 199 - Release Date: 2002-05-07
8711
Age (days ago)
8711
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Bengtsson