<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to show big numbers as the number NOT scientific notation?]]></title><description><![CDATA[<p dir="auto">I am using:</p>
<pre><code>qDebug() &lt;&lt; QString("stale_data_t::stale dblDown[%1] dblEpoch[%2] dblAge[%3] strToolTip[%4]")
                .arg(QString::number(pobjUDT-&gt;m_dblDown))
                .arg(QString::number(pobjUDT-&gt;m_dblEpoch))
                .arg(QString::number(dblAge))
                .arg(strToolTip);
</code></pre>
<p dir="auto">In my application , the result is something like:</p>
<pre><code>"stale_data_t::stale dblDown[1.66963e+12] dblEpoch[1.66963e+12] dblAge[6620] strToolTip[IF down: 6.620 seconds]" ../staleData.C: 287
</code></pre>
<p dir="auto">For <strong>dblDown</strong> and  <strong>dblEpoch</strong> I want to see the large number not the scientific notation, how do I do this ?</p>
]]></description><link>https://forum.qt.io/topic/141078/how-to-show-big-numbers-as-the-number-not-scientific-notation</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 06:30:05 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/141078.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Nov 2022 10:35:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to show big numbers as the number NOT scientific notation? on Mon, 28 Nov 2022 10:39:27 GMT]]></title><description><![CDATA[<p dir="auto">I relly thought you're long enough here to know where the <a href="https://doc.qt.io/qt-5/qstring.html#number-6" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a> is.</p>
]]></description><link>https://forum.qt.io/post/737966</link><guid isPermaLink="true">https://forum.qt.io/post/737966</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Mon, 28 Nov 2022 10:39:27 GMT</pubDate></item><item><title><![CDATA[Reply to How to show big numbers as the number NOT scientific notation? on Mon, 28 Nov 2022 10:46:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/christian-ehrlicher">@<bdi>Christian-Ehrlicher</bdi></a> , thank you, perfect:</p>
<pre><code>qDebug() &lt;&lt; QString("stale_data_t::stale dblDown[%1] dblEpoch[%2] dblAge[%3] strToolTip[%4]")
                .arg(QString::number(pobjUDT-&gt;m_dblDown, 'f', 0))
                .arg(QString::number(pobjUDT-&gt;m_dblEpoch, 'f', 0))
                .arg(QString::number(dblAge, 'f', 0))
                .arg(strToolTip);
</code></pre>
<p dir="auto">Result:</p>
<pre><code>"stale_data_t::stale dblDown[1669632401645] dblEpoch[1669632401645] dblAge[1370] strToolTip[IF down: 1.370 seconds]" ../staleData.C: 287
</code></pre>
]]></description><link>https://forum.qt.io/post/737968</link><guid isPermaLink="true">https://forum.qt.io/post/737968</guid><dc:creator><![CDATA[SPlatten]]></dc:creator><pubDate>Mon, 28 Nov 2022 10:46:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to show big numbers as the number NOT scientific notation? on Mon, 28 Nov 2022 10:39:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/splatten">@<bdi>SPlatten</bdi></a> QString::arg has a "format" parameter. Using "f" format it will not be displayed using scientific notation.</p>
]]></description><link>https://forum.qt.io/post/737967</link><guid isPermaLink="true">https://forum.qt.io/post/737967</guid><dc:creator><![CDATA[ollarch]]></dc:creator><pubDate>Mon, 28 Nov 2022 10:39:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to show big numbers as the number NOT scientific notation? on Mon, 28 Nov 2022 10:39:27 GMT]]></title><description><![CDATA[<p dir="auto">I relly thought you're long enough here to know where the <a href="https://doc.qt.io/qt-5/qstring.html#number-6" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a> is.</p>
]]></description><link>https://forum.qt.io/post/737966</link><guid isPermaLink="true">https://forum.qt.io/post/737966</guid><dc:creator><![CDATA[Christian Ehrlicher]]></dc:creator><pubDate>Mon, 28 Nov 2022 10:39:27 GMT</pubDate></item></channel></rss>