Look up the definitions for the formatting control letters.
The program is telling you that d is not for doubles.