Jsav

04-13-2007, 06:57 AM

Hello again everybody, I have another question about programming the BS2P

I know it only does whole integer math. What if I really need it to use a decimal constant in a calculation?

Am I SOL or is there another solution? We need to use a conversion from V to grams then grams to pounds, we can reduce this to 1 step, but still have an odd decimal value that needs to be used at least four times. This will return an odd decimal value that needs to be used in yet another calculation.

Any ideas?

Edit: Please take it easy on me if the answer is already out there, this is a great resource so it's the first place I came.

I know it only does whole integer math. What if I really need it to use a decimal constant in a calculation?

Am I SOL or is there another solution? We need to use a conversion from V to grams then grams to pounds, we can reduce this to 1 step, but still have an odd decimal value that needs to be used at least four times. This will return an odd decimal value that needs to be used in yet another calculation.

Any ideas?

Edit: Please take it easy on me if the answer is already out there, this is a great resource so it's the first place I came.