Calculation
-
- Posts: 1
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 17, 2020 3:44 pm
Calculation
if test =0 and you add 0.02 test then becomes 0.2. if you carry on then test becomes 0.4, 0.6, 0.8 and then o.1. why does this happen? If test is increased by 0.2 then the values of test printed out are correct. if test is increased by 0.02 then the first few values are wrong. PrintLine and PrintString are correct
- Attachments
-
- Main1.JPG (24.98 KiB) Viewed 525 times
Last edited by iangm on Fri Apr 14, 2023 3:47 pm, edited 1 time in total.
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Calculation
Hello.
As you have not used a 9 or 10 post icon I'm assuming you are using FC10.
Are you referring to simulation or hardware?
Just checked the simulation and:
That is what I would expect.
We can't take things further unless you do what kersing has suggested.
As this is nothing to do with user components, I have moved the topic to the general section.
As you have not used a 9 or 10 post icon I'm assuming you are using FC10.
Are you referring to simulation or hardware?
Just checked the simulation and:
That is what I would expect.
We can't take things further unless you do what kersing has suggested.
As this is nothing to do with user components, I have moved the topic to the general section.
- Attachments
-
- test plus 0.02.png (41.17 KiB) Viewed 542 times
Martin