_get_output_format

Gets the current value of the output format flag.

unsigned int _get_output_format();

Возвращаемое значение

The current value of the output format flag.

Заметки

The output format flag controls features of formatted I/O. At present the flag has two possible values: 0 and _TWO_DIGIT_EXPONENT. If _TWO_DIGIT_EXPONENT is set, the floating point numbers is printed with only two digits in the exponent unless a third digit is required by the size of the exponent. If the flag is zero, the floating point output displays three digits of exponent, using zeroes if necessary to pad the value to three digits.

Требования

Routine

Required header

_get_output_format

<stdio.h>

For more compatibility information, see Compatibility in the Introduction.

Эквивалент в .NET Framework

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

См. также

Основные понятия

printf, _printf_l, wprintf, _wprintf_l

printf Type Field Characters

_set_output_format