I have a long double that represents a dollar amount, say $1,234.56. If I do justI getCode:long double number = 1234.56; std::cout<<number;Is there an IOS flag or something similar I can set to display this number with commas, like thisCode:1234.56Code:1,234.56



LinkBack URL
About LinkBacks



I used to be an adventurer like you... then I took an arrow to the knee.
CornedBee
