Menu

#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

  • Peter Raganitsch

    thanks for the tipp, will be solved in ApexLib 2.0

     
  • Peter Raganitsch

    • assigned_to: nobody --> praganitsch
     
  • Peter Raganitsch

    • milestone: --> v2.0
    • status: open --> closed
     

Log in to post a comment.