#include <stdio.h>
void main() {
float num = 546.327;
printf("the number is %f\n",num);
enter code here
}
The out put is 546.327026. When I tried different numbers it always ended up printing 6 numbers after the dot, when the last 3 are random.