@WarmedxMints_1 's code will do the trick, but here are a few more options.
One, float.ToString can accept a parameter that defines the format of the data to be used.
textRef.text = Speed.ToString("#.00");
^ will show you 2 decimal places
It supports a ridiculous amount of options, though 99% of the time I find that the “#.00” type of option handles what I need.
Two, a good habit to get into is to use string.Format rather than concatenation (the plus sign, when used with strings). The reason being is that the way + works is to make two strings, then make a third string representing the combined value - the first two strings are tossed into the breeze as ‘garbage’ in memory, to eventually be collected by the garbage collector, which is one of the ways that noticeable stutters in framerates happen, so you want to minimize garbage when you can. If you have a longer string being built with a bunch of parts, it has to do this repeatedly, creating tons of little bits of garbage.
…anyway, string.Format basically has you put {0} {1} {2} into a string, then replaces them with the parameters you give it after that - {0} replaced with the first, {1} with the second, etc.
textRef.text = string.Format("{0} km/h", Speed);
(Sidenote: Debug has LogFormat, LogWarningFormat, and LogErrorFormat that work the same way.)
And it actually supports parameters in ToString pretty conveniently, combining the above pieces of advice. It looks like this:
textRef.text = string.Format("{0:#.00} km/h", Speed);