File: numerics.tmpl

package info (click to toggle)
libhtml-template-expr-perl 0.07-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 248 kB
  • sloc: perl: 285; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
INT: <tmpl_var expr="int(float)">
SQRT: <tmpl_var expr="sqrt(four)">
SQRT2: <tmpl_var expr="sqrt((four * 4))">
SUM: <tmpl_var expr="int(four + 10.1)">
SPRINTF: <tmpl_var expr="sprintf('%0.4f', (four + 10.1))">