0
21st Jan 2020, 6:30 PM
haren

1 Answer
+ 4
Use "%.2f"
Edit to be complete:
printf("%.2f", salary);
21st Jan 2020, 6:37 PM
Mihai Apostol

Often have questions like this?
Learn more efficiently, for free:
Hot today
??
1 Votes
Hello guys,
1 Votes
Help me
1 Votes
Programming
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes