piclist 2001\06\01\114644a >
Thread: Brain Burp Rounding??
face BY : Roman Black email (remove spam text)

OK, so now I feel totally inadequate to do rounding
in my simple data table.

As everyone seems to have their own system for rounding
I would like to ask a simple question andd hopefully one
of the math geniuses can give a simple answer??

I do a divide calc (on pocket calculator) that gives a
0.xxxxx answer. I need to round this and make it a binary
number (to fit in one byte).

So 0.400 x 256 = 102.4 = 102 (binary).

Any suggestions for rounding these data figures??

http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

<3B17B80A.903@ezy.net.au> 7bit

See also: www.piclist.com/techref/index.htm?key=brain+burp+rounding
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Brain Burp Rounding??

month overview.

new search...