| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"Cory Nelson" |
| Date: |
17 Jan 2008 10:43:29 PM |
| Object: |
Formatting a large number with a locale |
I have some very large numbers that don't fit in any of the standard
(or non-standard) builtins. I can make these base-10 ascii easily,
but I would like to use a locale for nice l10n support. Is there any
solution to this? I see the std::num_put facet but it only takes
builtins.
.
|
|
| User: "James Kanze" |
|
| Title: Re: Formatting a large number with a locale |
18 Jan 2008 07:05:24 AM |
|
|
On Jan 18, 5:43 am, Cory Nelson <phro...@gmail.com> wrote:
I have some very large numbers that don't fit in any of the standard
(or non-standard) builtins. I can make these base-10 ascii easily,
but I would like to use a locale for nice l10n support. Is there any
solution to this? I see the std::num_put facet but it only takes
builtins.
There's also a num_punct facet which num_put uses. You can use
it.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
.
|
|
|
|

|
Related Articles |
|
|