From 9059fecbd8cbde50f6bdf5b3cb35578ce646b75b Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 1 Sep 2003 11:11:57 +0000 Subject: [PATCH] fixed example for simple math. --- docs/designers.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/designers.sgml b/docs/designers.sgml index d5f774e1..e033feaa 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -142,19 +142,19 @@ PRACTICAL EXAMPLES: math examples -{$foo + 1} +{$foo+1} -{$foo * $bar} +{$foo*$bar} {* some more complicated examples *} -{$foo->bar - $bar[1] * $baz->foo->bar() - 3 * 7} +{$foo->bar-$bar[1]*$baz->foo->bar()-3*7} {if ($foo+$bar.test%$baz*134232+10+$b+10)} -{$foo|truncate:"`$fooTruncCount / $barTruncFactor -1`"} +{$foo|truncate:"`$fooTruncCount/$barTruncFactor-1`"} -{assign var="foo" value="`$foo + $bar`"} +{assign var="foo" value="`$foo+$bar`"}