If you read the PBP Manual you will discover it only handles INTEGERS.
If you have a BYTE, your numbering is 8 bits from 0-255 (NO DECIMAL PLACES)...
If you have a WORD, your numbering is 16 bits 0-65535 (NO DECIMAL PLACES)...
If you lave a LONG etc etc the rest is in your documentation.
Theis does not mean you can't do Floating Point Math, but it means you have to stay within the limitations of the variables that you are using. If you want two decimal places precision example 12.34 then you must store it as 1234 and insert the Decimal Point accordingly when you need to Display or Print your variable.
thanks Melanie I did it as you said![]()
Electrical & Electronic Engineering
Undergraduate Student
Bookmarks