◐ Shell
clean mode source ↗

std::ios_base::width - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

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)

Imposta la precisione a quella data.

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.

Parametri

new_width - new field width setting

Valore di ritorno

the field width before the call to the function

Esempio

Vedi anche

gestisce la precisione decimale di operazioni in virgola mobile

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.


(metodo pubblico) [modifica]