Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on Empty()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00400312
Message ID:
00400475
Views:
15
>lnAmount = lnAmountDebit - lnAmountCredit
>wait windows "lnAmount = " + str(lnAmount, 20, 18)
>&& shows 0.000000000000455000

>Thanks again, at least there is a logical reason (not very smart from VFP) and I'm not crazy. ;-)

This computational "noise" is from the computer processor, and has been around since the oldest mainframe days, the result of binary calculation imprecision. Seen it in every language I've worked in...some day they will build in a fix, perhaps.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform