math and modifier
| From: | Maciek Uhlig | Date: | Sun, 11 Mar 2001 08:45:17 +0000 |
| Subject: | math and modifier | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-369@lists.php.net to get a copy of this message | ||
Is it possible to apply a modifier to math tag result? What I want is to
reduce number of decimal places in the division result. I can do it using
numer_format() but how to apply number_format to {math equation="x/y"
x=$block/var1 y=$block/var2} ?
Maciek