Subject |
Re: Problem with int() function |
From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
Date |
Fri, 17 Mar 2017 22:07:41 +0530 |
Newsgroups |
dbase.getting-started |
On 17/03/2017 20:20, Larry Winkler wrote:
> OK. I'm a pain in the butt. Here is a little test program to prove my point. If the Integer function was working properly, there would be nothing to print.
>
> I finally had to disable all the code I had checking the user's input because of this problem. It seems to me that there is a bug in dBase causing the issue.
>
> Thanks for your patience.
Larry I seriously think you should post it in the bugs group.
Had it not been for the test.prg I would not have believed you.
I tried converting to integer using %1 to get the remainder
but this also failed in some situations.
Will think over it and if possible give you a solution.
Regards
Akshat
|
|