SyntaxFix
Write A Post
Hire A Developer
Questions
You can do it like this:
printf("%.6f", myFloat);
6 represents the number of digits after the decimal separator.