template::util::negative (public)

 template::util::negative value

Defined in packages/acs-templating/tcl/date-procs.tcl

Check if a value is less than zero, but return false if the value is an empty string.

Parameters:
value

Partial Call Graph (max 5 caller/called nodes):
%3 test_util_negative util_negative (test acs-templating) template::util::negative template::util::negative test_util_negative->template::util::negative util::trim_leading_zeros util::trim_leading_zeros (public) template::util::negative->util::trim_leading_zeros

Testcases:
util_negative
Source code:
    if {$value eq ""} {
        return 0
    } else {
        return [expr {[util::trim_leading_zeros $value] < 0}]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: