Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.95 KB

get-output-format.md

File metadata and controls

47 lines (34 loc) · 1.95 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _get_output_format
_get_output_format
11/04/2016
_get_output_format
msvcr110_clr0400.dll
msvcr100.dll
msvcr80.dll
msvcrt.dll
msvcr90.dll
msvcr120.dll
msvcr110.dll
DLLExport
apiref
get_output_format
_get_output_format
output formatting
get_output_format function
_get_output_format function
0ce42f3b-3479-41c4-bcbf-1d21f7ee37e7

_get_output_format

Gets the current value of the output format flag.

Important

This function is obsolete. Beginning in Visual Studio 2015, it is not available in the CRT.

Syntax

unsigned int _get_output_format();

Return Value

The current value of the output format flag.

Remarks

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.

Requirements

Routine Required header
_get_output_format <stdio.h>

For more compatibility information, see Compatibility in the Introduction.

See also

Format Specification Syntax: printf and wprintf Functions
printf, _printf_l, wprintf, _wprintf_l
printf_s, _printf_s_l, wprintf_s, _wprintf_s_l
_set_output_format