Validation icon indicating copy to clipboard operation
Validation copied to clipboard

IntVal fails with negative integer strings

Open franksl opened this issue 5 years ago • 0 comments

Hi, I noticed a behaviour that I don't understand: passing a negative integer string like "-1" makes IntVal fail. The culprit is the internal call to ctype_digit that evaluates to false as documented, but to my understanding, a rule called IntVal should evaluate to true even for negative integers. Thanks, Frank

franksl avatar Oct 14 '20 14:10 franksl