Basic Math issue
#1
Hello,

So I'm running into a pretty wierd issue with doing basic math. My program has a section where it takes a variable and adds 0.1 and the results don't add up correctly. For example 2.0 + 0.1 will come out as 2.099999 when it's pretty well known it should be 2.1. Any suggestions or solutions? I am using mB Pro 5.40 with a PIC18F45K22 and 46K22.

Please help.



Thanks
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Download Math Type Free Activation Included Pakistani 0 133 11-27-2018, 11:10 AM
Last Post: Pakistani
  Issue with math HarryJenkins 0 662 05-31-2018, 08:21 PM
Last Post: HarryJenkins



Users browsing this thread:
1 Guest(s)