Auxiliary data structure for floating point format specification.
More...
#include <JPrint.hh>
Auxiliary data structure for floating point format specification.
Definition at line 481 of file JPrint.hh.
◆ FIXED()
FIXED::FIXED |
( |
const int |
width, |
|
|
const int |
precision |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
width | width |
precision | precision |
Definition at line 490 of file JPrint.hh.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const FIXED & |
format |
|
) |
| |
|
friend |
Format specifier.
- Parameters
-
out | output stream |
format | format |
- Returns
- output stream
Definition at line 504 of file JPrint.hh.
508 return out << fixed << right << setw(format.
width) << setprecision(format.
precision);
◆ precision
◆ width
The documentation for this struct was generated from the following file: