std::ios_base::precision
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 precision()const; | (1) | |
streamsize precision( streamsize new_precision ); | (2) | |
Gerencia a precisão (ou seja, quantos dígitos são gerados) de certas conversões de saída numéricos.
1) Original:
Manages the precision (i.e. how many digits are generated) of certain numeric output conversions.
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.
Retorna a precisão atual.
2) Original:
Returns the current precision.
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.
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_precision | - | configuração nova precisão Original: new precision setting The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Valor de retorno
a precisão antes da chamada para a função
Original:
the precision before the call to the function
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.
[editar]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
manages field width (função pública membro) |