<?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[Writing into CSV file.]]></title><description><![CDATA[<p dir="auto">Hey Everyone,<br />
Im trying to get some data from signal analyzer and append it into a csv file but the data which is getting updated in csv file is coming as <img src="https://ddgobkiprc33d.cloudfront.net/77f6ce59-e530-497b-bf36-6eb4dcf15ea2.png" alt="5e6549a4-a292-463f-803e-e50ca7c85d14-image.png" class=" img-fluid img-markdown" /> 4.63E-204<br />
and similar numbers like that , i want integers to be printed in the columns<br />
below is the code snippet :</p>
<p dir="auto">QFile file("./file.csv");<br />
file.open(QIODevice::WriteOnly | QIODevice::Text);<br />
QTextStream out(&amp;file);<br />
out&lt;&lt;"Frequnecy , Measure Peak Frequency , Measured Tx Power, Measured Spurious Power , Measured Spurious Frequency\n";<br />
*<br />
*<br />
Return_value.append(",");<br />
Return_value.append(PK_VALUE);<br />
*<br />
*<br />
out&lt;&lt;Return_value&lt;&lt;"\n";</p>
<p dir="auto">Thanks Looking forward for a suggestion.</p>
]]></description><link>https://forum.qt.io/topic/140614/writing-into-csv-file</link><generator>RSS for Node</generator><lastBuildDate>Mon, 22 Jun 2026 00:30:20 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/140614.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Nov 2022 12:25:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Writing into CSV file. on Wed, 09 Nov 2022 12:50:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pariposh">@<bdi>Pariposh</bdi></a><br />
And are the values which you are writing indeed (valid) integers?  Because <code>4.63E-204</code> is equal to <code>4.63 / (10^204)</code>, i.e. a <em>very</em> small number with 204 <code>0</code>s after the decimal point!!  And not an integer anyway.  Show a <code>qDebug()</code> of which value is producing that output.</p>
]]></description><link>https://forum.qt.io/post/735532</link><guid isPermaLink="true">https://forum.qt.io/post/735532</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Wed, 09 Nov 2022 12:50:30 GMT</pubDate></item></channel></rss>