fixed output of numeric output from expr().
This commit is contained in:
1 parent
3f14b28435
commit
db59e9e87c
4 files changed
+8
-6
No files matched your search
@@ -1,5 +0,0 @@
|
||||
#!../jet-2.0
|
||||
<jet name1="localname" filterblanklines="true" trimlines="true">
|
||||
<set name="result" expr="2 + 2 * 3 + 2" />
|
||||
$[result]=10
|
||||
</jet>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!../jet-2.0
|
||||
<jet cgi="true" name1="localname" filterblanklines="true" trimlines="true">
|
||||
<mysql host="localhost" database="barant" user="barant" password="uversa" sessionid="1">
|
||||
<mysql host="barant.com" database="barant" user="barant" password="uversa" sessionid="1">
|
||||
<sql sessionid="1">select * from testdata</sql>
|
||||
<whilerow name="index" count="10" sessionid="1">
|
||||
$[1.id] $[1.text] $[1.value]
|
||||
|
||||
@@ -23,4 +23,6 @@ $[result]=45
|
||||
$[result]=45
|
||||
<set name="result" expr="2 + 2 * 3 + 2" />
|
||||
$[result]=10
|
||||
<set name="result" expr="expr(2 + 2 * 3 + 2)" />
|
||||
$[result]=10
|
||||
</jet>
|
||||
Reference in new issue
Block a user