Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Math in Template::Toolkit

by FunkyMonk (Chancellor)
on Apr 30, 2007 at 20:40 UTC ( [id://612862]=note: print w/replies, xml ) Need Help??


in reply to Math in Template::Toolkit

Adding spaces around the divide works for me
zippy:~$ cat x [% width = 5 -%] [% extra = width / 2; -%] [%- extra %] zippy:~$ tpage x 2.5

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://612862]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2025-06-18 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.