Looks ok (correct bracket matching and such) so maybe you've hit a bug in the parser? Try variations like:
(100-(width*(top_menu.$size)))/2 (50-(width*(top_menu.$size)/2)) (100-(width*top_menu.$size))/2 50-(width*top_menu.$size)/2 50-width*top_menu.$size/2
In reply to Re: Math in Template::Toolkit
by GrandFather
in thread Math in Template::Toolkit
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |