newbie question, forcing numeric result



I suggest you replace 177.828  by 177828/1000
If that is the EXACT value you really want. 
If you really want a number like

177.82800000000000295585778...

Which is the double precision value of that number, try replacing it by
bfloat(177.828);



...snip
RJF