>I'm stuck on this tonight. Too much wine while coding.
>
>
>double ratio = Math.Floor((double)Whse1Qty * (1 / (double)Ratio));
>
>
>
>Whse1Qty = 2 and Ratio = 10. This always returns 0.
>
>What's wrong here?
You're so wrong about your first statement. It's impossible to have too much wine <g>
*******************************************************
Save a tree, eat a beaver.
Denis Chassé