<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Float value not getting printed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54685/float-value-not-getting-printed</link><description>Hello, 
 I am using Segger and nrf52840 dk. I want to print float value in debug terminal but the value is not getting printed. 
 I did this-- printf(&amp;quot;%f cm\n&amp;quot;, temp); 
 in debug terminal I am getting- 
 cm 
 cm 
 ... 
 Can someone please help. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Nov 2019 08:42:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54685/float-value-not-getting-printed" /><item><title>RE: Float value not getting printed</title><link>https://devzone.nordicsemi.com/thread/221238?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 08:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:064b66e3-25a5-4f60-a508-d9685dae7400</guid><dc:creator>HuanVH</dc:creator><description>&lt;p&gt;Project Options &amp;gt; Common &amp;gt; Printf/Scanf &amp;gt; Printf Floating Point Supported &amp;gt; Float&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Float value not getting printed</title><link>https://devzone.nordicsemi.com/thread/221237?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 08:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9fd307b-95a2-474a-93be-650743ff35bb</guid><dc:creator>RSA</dc:creator><description>&lt;p&gt;try reading J&amp;oslash;rgens response here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41557/printing-float-number-with-nrf_cli_fprintf-function"&gt;devzone.nordicsemi.com/.../printing-float-number-with-nrf_cli_fprintf-function,&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;in addition, using __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, &amp;quot;message test &amp;quot;), is a better debuging output, since it outputs additional infomation which might be usefull&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>