number 0 not a number according to isNumber()
Brought to you by:
patrick_wolf,
praganitsch
version the default download at 08-13-2008
problem
apexlib.convert.isNumber returns false
when apexlib.convert.toNumber returns the number 0
solution
in
change
if (apexlib.convert.toNumber(pNumberString, pFormatMask)) return true;
return false;
to
if (apexlib.convert.toNumber(pNumberString, pFormatMask)!= null) return true;
return false;
thanks for the tipp, will be solved in ApexLib 2.0