[RFC] moneypunct::frac_digits < 0 ?!?

Paolo Carlini pcarlini@suse.de
Wed Mar 3 15:29:00 GMT 2004


Paolo Carlini wrote:

> So, if frac_digits() is, say -2?
>
> If I understand well your message, no digits are required after the
> decimal_point and we discard the rightmost two digits of the integer 
> part.

... but in that case, what happens if the integer part is < 100?!?

We actually parse zero? The user inputs, say, 75.8 and we parse zero, are
you sure that we really want this behavior?

Paolo.



More information about the Libstdc++ mailing list