Logic Machine Forum
FB editor value decimals - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: FB editor value decimals (/showthread.php?tid=1552)



FB editor value decimals - Kai-Roger - 24.08.2018

Hi.

No big deal, but when the temperature values in FB editor reaches 21.4 C, the decimal number count gets very big. Is this normal? See the picture. Next to group 5/2/9 in top left corner.

BR


RE: FB editor value decimals - Daniel - 24.08.2018

Hi
Check what value you have in Object tab.
BR


RE: FB editor value decimals - Kai-Roger - 24.08.2018

Hi.

When i write any number with a decimal of 0.4, i get 0.400000000000002

This altso happens when i write 0.9


RE: FB editor value decimals - Erwin van der Zwart - 25.08.2018

Hi,

You probably use a 4 byte float object, does the object in configurator object tab shows the same value as in the editor? If yes try to change the object to 2 byte float.

BR,

Erwin


RE: FB editor value decimals - Kai-Roger - 25.08.2018

(25.08.2018, 06:49)Erwin van der Zwart Wrote: Hi,

You probably use a 4 byte float object, does the object in configurator object tab shows the same value as in the editor? If yes try to change the object to 2 byte float.

BR,

Erwin

Hi. It's 2 byte float value thats selected.

BR


RE: FB editor value decimals - Daniel - 27.08.2018

Hi
Can you send me your backup?
BR


RE: FB editor value decimals - Kai-Roger - 27.08.2018

Sent Backup PM


RE: FB editor value decimals - Daniel - 27.08.2018

Thanks, we know what it is and will fix next time we will work on FB.


RE: FB editor value decimals - Kai-Roger - 27.08.2018

Thanks