make font settings cross platform
This commit is contained in:
parent
2561b03583
commit
f260bc2b0c
5 changed files with 12 additions and 13 deletions
|
@ -13,7 +13,7 @@ std::string formatCentAsEuroString(const int cent, int width)
|
|||
currStream << std::right << std::setw(width) << std::showbase
|
||||
<< std::put_money(cent, false);
|
||||
} catch (std::runtime_error& err) {
|
||||
currStream << std::fixed << std::setw(width) << std::setprecision(2) << cent / 100.0L
|
||||
currStream << std::fixed << std::setw(width - 2) << std::setprecision(2) << cent / 100.0L
|
||||
<< " €";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue