Add arithmetics helpers - fix #94
This commit is contained in:
6
examples/arithmetics/templates/arithmetics.tmpl
Normal file
6
examples/arithmetics/templates/arithmetics.tmpl
Normal file
@@ -0,0 +1,6 @@
|
||||
{{with $a := 1}}{{with $b := 2}}
|
||||
add(1,2) = {{add $a $b}}
|
||||
subtract(1,2) = {{subtract $a $b}}
|
||||
multiply(1,2) = {{multiply $a $b}}
|
||||
divide(2,1) = {{divide $b $a}}
|
||||
{{end}}{{end}}
|
Reference in New Issue
Block a user