Printing float numbers to 2 decimal places

For general Flowcode discussion that does not belong in the other sections.
Post Reply
davidkilshaw2
Posts: 7
http://meble-kuchenne.info.pl
Joined: Fri Oct 01, 2021 4:35 pm
Has thanked: 1 time

Printing float numbers to 2 decimal places

Post by davidkilshaw2 »

I know that you can shorten a float in a calculation but is there a way of using the print string function in an LCD display to only print 2 decimal places directly without having to go through the data manipualtion before hand ?

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 468 times

Re: Printing float numbers to 2 decimal places

Post by medelec35 »

Hi David,
For Flowcode V9 I created a PrintFloat option
Martin

Post Reply