Canvas. How to limit the number of characters shown

Hello, the following question arose: I added a reload time to the screen, but I’m not satisfied that there are too many characters after the number “2.08”. Tell me how can this be fixed? Thank you all in advance!

You need to use the C# numeric format operators. For example:


would print out “1.24”