Programming V5 controller to show temperature

How to program the V5 controller to show the motor temperature on the screen. When i put vex::motor.temperature. Whats in the bracket will print the code not the value
Edit: When i put HController.Screen.print(“Temp %f”,leftfront.temperature(percentUnits::pct))
My VCS program dosent allow me to compile

Your double quotes are unicode and VCS doesn’t like unicode characters
Some text editors like google docs use unicode double quotes
if you replace them with ascii double quotes " it should work fine