Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47575

QVariant fp conversion toString different

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.5.0
    • Core: Object Model
    • None
    • Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      #include <QApplication>
      #include <QQmlApplicationEngine>
      #include <QCoreApplication>
      #include <QFile>
      #include <QDataStream>
      #include <QDebug>
      #include <QStringList>

      int main(int argc, char *argv[])

      { QCoreApplication a(argc, argv); QVariant v(3.3); // The variant now contains an double qDebug() << v.toString() << endl; return a.exec(); }

      Qt 5.4 out "3.3"
      Qt 5.5 out "3.2999999999999998"

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            beigenmann Benno Eigenmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes