Subject | Re: [ib-support] Wierd math??? |
---|---|

Author | Joe Martinez |

Post date | 2003-02-20T21:07Z |

>It should, but since you are using floating point numbers your numbersI do understand the issues with floating point numbers. It's just that if

>do not have "exactly" 2 decimal places. Actually, their decimal point

>floats. Search the archives for thorough discussions about this

>problem.

the SOURCE numbers all come out with 2 decimal places, I would expect their

SUM to also. I would just expect the database to add them together the

same way I would (line up the decemal points and add). It just seems like

a simple thing for it to do to get a "precise" sum from "precise" source

numbers.

I mean, the source numbers at least come out precisely in the output. i.e.

Why does 7.34 output as 7.34, and not 7.340000000000000021, but the sum has

that problem?

-Joe