It is really strange how auto convert between numeric data behaves in T-Sql
Declare @fdays as float(12)
Declare @mAmount As Money
Declare @fDaysi as float(12)
Set @fdays =3
Set @fdaysi =1
Set @mAmount=527228.52
Set @mAmount = @fdaysi * @mAmount/@fDays
Select @mAmount, 527228.52/3
The result of this computation is
175742.8281 175742.840000
Does this occur because money and float are not actually the same kind of numeric data? Float is Approximate Numeric and Money is Exact Numeric