Forum OpenACS Improvement Proposals (TIPs): Re: template::data::validate::integer allows leading zeros

Collapse
Posted by Dave Bauer on
string is integer exists now, so that seems like a logical choice to validate integers now.
string is integer does not solve the discussed problem.

set x 0111; puts [expr {[string is integer $x] ? $x : 0}]

outputs 73

Cheers, -gustaf neumann