- #1
Luongo
- 120
- 0
C: Format Specifier "%f"
I understand the format specifier is a placeholder for a value to be calculated via scanf feature but I'm unsure of the notation %X.Yf
What does the X represent? i understand Y gives the number of spots after the decimal but i don't understand what the X portion does? Can you give a few examples?
Thanks
I understand the format specifier is a placeholder for a value to be calculated via scanf feature but I'm unsure of the notation %X.Yf
What does the X represent? i understand Y gives the number of spots after the decimal but i don't understand what the X portion does? Can you give a few examples?
Thanks