C++ (Qt)QVariant tst = 32192.96;double itog = tst.toDouble();qDebug() << QString::number( itog, 'G', 10 );
C++ (Qt)QVariant tst = 32192.96;double itog = tst.toDouble();qDebug() << QString::number( itog, 'G', 100 );
C++ (Qt) double param, fractpart, intpart; param = 234.24; fractpart = modf (param , &intpart); int value = static_cast<int>(intpart);