Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#89 number 0 not a number according to isNumber()

v2.0
closed
None
5
2009-10-04
2008-10-13
Nicolette
No

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;

Discussion

  • thanks for the tipp, will be solved in ApexLib 2.0

     
    • assigned_to: nobody --> praganitsch
     
    • milestone: --> v2.0
    • status: open --> closed