13
What is this format specifier?
(lemm.ee)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
The confusion is you just provided sample code showing how
"%.2f"
works - you didn't answer the question which was what does that sequence of characters actually mean? What does the%
do. What does the.
do. What does the2
do. What does thef
do.OP needs to know the answer to all of those.
OP got the answer to those in another comment, I'm asking what part they need help understanding in this link. Also, I didn't provide the link.
Edit: Nevermind, I mistook the comment for being OP.