Paul - you're right of course. I just re-jigged the equation as supplied, I've done no optimisation yet. In reality, I can probably get away with using integer maths, to save time.
Paul - you're right of course. I just re-jigged the equation as supplied, I've done no optimisation yet. In reality, I can probably get away with using integer maths, to save time.