Odd sprintf behaviour

Suppose cTemp is 12.07. What gets put in currTemp?