[Qt-interest] Why this double is not valid by QDoubleValidator

Benjamin Lau blwy10v at gmail.com
Thu Aug 27 17:28:17 CEST 2009


On Thu, Aug 27, 2009 at 11:22 PM, Sujan
Dasmahapatra<sujan.dasmahapatra at gmail.com> wrote:
> It's scientific notation right . By  default Validator supports scientific
> notation.
>

It's only scientific notation when there is an integer after the E.
Otherwise it isn't scientific notation, or in Qt's validator system,
Intermediate.

> On Thu, Aug 27, 2009 at 4:45 PM, Srdjan Todorovic
> <todorovic.s at googlemail.com> wrote:
>>
>> Hi,
>>
>> On 27/08/2009, Sujan Dasmahapatra <sujan.dasmahapatra at gmail.com> wrote:
>> > Dear Friends
>> > Why QDoubleValidator is not accepting the value below as a double with
>> > default settings.
>> >
>> > "-0.0000888889E"
>>
>> is E a valid double?
>> Did you miss out the exponent?
>>
>> Srdjan
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
> --
> Thanks & Regards
> S. Dasmahapatra
> B.E. (Aeronautics-Aerodynamics)
> Bangalore, India
> Ph:91-9900839788
> Office:91-80-66470248
> mail id : sujan.dasmahapatra at gmail.com
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list