I'm trying to convert a string to a number using the Number() function. I'm using PB6.5 and when I try to compile my code I get the following error:
Unknown function name: number
Here is my code:
li_paptrac_number = Number(ls_paptrac_nbr)
I'm using the above code in an object function, which is part of a user object.
Is this a bug in PB? Because when I look this up in PB Help, it is a valid function. If this is not a valid function any more, how can I convert a string to a number?
Thanks,
Keith
Unknown function name: number
Here is my code:
li_paptrac_number = Number(ls_paptrac_nbr)
I'm using the above code in an object function, which is part of a user object.
Is this a bug in PB? Because when I look this up in PB Help, it is a valid function. If this is not a valid function any more, how can I convert a string to a number?
Thanks,
Keith