PWM - Peltier working code

PaulS:

I'm kinda wondering if there is a another way to do it.

Of course there is. Ditch the String class. The dtostrf() function puts the decimal point in a fixed position in tBuffer. You don't need the overhead and problems of the String class to move the characters to the right of the decimal point one place to the left.

What would be the other way without using dtostrf()?