std::ios_base::width
Da cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
streamsize width()const; | (1) | |
streamsize width( streamsize new_width ); | (2) | |
Manages the minimum number of characters to generate on certain output conversions.
1) Returns the current field width.
2)Define a precisão para o dado.
Original:
Sets the precision to the given one.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar]Parâmetros
new_width | - | new field width setting |
[editar]Valor de retorno
the field width before the call to the function
[editar]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
gerencia precisão decimal de operações de ponto flutuante Original: manages decimal precision of floating point operations The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) |