Printing float numbers to 2 decimal places

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
Posts: 340
Joined: Wed Dec 02, 2020 11:07 pm
Location: Northamptonshire UK
Has thanked: 123 times
Been thanked: 148 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