This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]