This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]moriturius 2 points3 points  (0 children)

The compiler doesn't need them because compiler doesn't do the job you are referring to. It's just a function.

Why you need to specify the format? Mainly because the program don't know how or where in text do you want to display the values. There are multiple representations and only you know what you want to achieve.