Forum

Remove 3rd and 4th zero after coma on a float pin in code editor

hi
it is my first try with code editor ,
i start understanding how it works (first time in c# too)

but i have a float input pin that has 4 decimal after the coma
ex : 143.1300
my data is limited to 2 decimal
so i would like to truncate the 3rd and 4th zeros

i get totally lost in the pluginspecs/
it is too much to take at once , so i don t know how to find the info i am looking for

could somebody explain me (really simply) how to do , and/or send me to the page i m in need.

thanks .

heuuu , no nevermind , i think it automatically truncate
sorry