in reply to Re: Re: Re: Float values from MS SQL Server.
in thread Float values from MS SQL Server.

Can you print $SUM_ni and $SUM_xi just before that equation? Never mind what you think is in there, let's see what is realy in there.

Then we can determine if the actual problem is realy the format of the numbers or something else...