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 (required)
- Partial Call Graph (max 5 caller/called nodes):
- 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