Any idea why this problem does not manifest itself in Foxpro, Excel or Visual Basic?
Pierre-Alain Joye
wrote:On Tue, 25 Jun 2002 18:14:13 -0700
wrote:
IEEE standard is precision to 6 decimal places.
Having an epsilon of 2 is ridiculously small, and
well under the IEEE / ANSI standard.
On Wed, 26 Jun 2002 06:52:14 -0700 (PDT)
Manuel [EMAIL PROTECTED] wrote:
Any idea why this problem does not manifest itself in Foxpro, Excel or Visual Basic?
This problem happens also with VB. But later :), By example if you use decimal type,
smallest non-zero number is
The if statement is not working here. Does anybody know why?
$total= 332.06;
$production = 45.11 + 134.38 + 85.35 + 67.22;
print(Total = $totalbr);
print(Production = $productionbr);
if($total != $production) {
print(Totals do not Match!);
}
else {
print(Totals are in Balance);
}