std::ios_base::precision
Материал из 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) | |
Управляет точностью (т.е. сколько цифр генерируются) определенных числовых преобразований выходных.
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.
Возвращает текущую точность.
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.
Устанавливает точность на заданное.
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.
Содержание |
[править] Параметры
| new_precision | - | Новая настройка точности
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. |
[править] Возвращаемое значение
точностью до вызова функции
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.
[править] Пример
| Этот раздел не завершён Причина: нет примера |
[править] См. также
| manages field width (public функция-член) | |