result = b0 / b1 * 1000

b0 or b1 can be any value between 0 and 255 (except b0 = 0) and I only need the integer part of the result.

e.g.

b0 = 143, b1 = 215 =>

143 / 215 * 1000 = 665.115

So I want 665.

Since I've not been playing with picaxes too long I find the maths a little confusing.

Any thoughs?