i have a question
please refer below..
Example:
output :Code:#include <stdio.h>
int main() {
printf("%6.1f", 123456.123456);
printf("\n%6.2f", 123456.123456);
printf("\n%6.3f", 123456.123456);
printf("\n%6.4f", 123456.123456);
}
123456.1
123456.12
123456.123
123456.1235
at last output the result was 123456.1235 because it was rounded up.
How to display this value by not rounding up?
like 123456.1234 ?