Update sample code to display 1.0 instead of 0.5