[Qt-interest] A way to test the number of digits after a decimal point?
Mihail Naydenov
mlists at ymail.com
Tue Mar 31 11:24:36 CEST 2009
I need to test a string, representing a double, for the number of digits after a decimal point.
Looking into QDoubleValidator code, it uses locale().d()->validateChars(...), which also tests for the notation type, but this is a private method, so it is a no-go.
Were can I find a public alternative to these? Because both QString and QLocal does not seam to have one.
Thank You
MihailNaydenov
More information about the Qt-interest-old
mailing list