<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=47&amp;t=10996&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-03-10T11:40:51+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=10996&amp;mode</id>
<entry>
<author><name><![CDATA[Popeye]]></name></author>
<updated>2015-03-10T11:40:51+01:00</updated>
<published>2015-03-10T11:40:51+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122902#p122902</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122902#p122902"/>
<title type="html"><![CDATA[Re: liczba dziesiętna]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122902#p122902"><![CDATA[
Podziękował<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=8900">Popeye</a> — 10 mar 2015, o 11:40</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[atmel]]></name></author>
<updated>2015-03-10T10:52:37+01:00</updated>
<published>2015-03-10T10:52:37+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122896#p122896</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122896#p122896"/>
<title type="html"><![CDATA[Re: liczba dziesiętna]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122896#p122896"><![CDATA[
Z Twojego opisu nie wynika, czy chodzi o liczby całkowite czy zmiennoprzecinkowe...<br /><br />Można zmienić sposób wyświetlania (pamiętając o <!-- m --><a class="postlink" href="http://mirekk36.blogspot.com/2013/04/eclipse-nie-dziaa-mi-printf-dla-float.html" >http://mirekk36.blogspot.com/2013/04/ec ... float.html</a><!-- m -->):<br /><br />[syntax=c]#include &lt;stdio.h&gt;<br />...<br />float Liczba = 1.27;<br />char Buf&#91;5&#93;;<br />...<br />sprintf(Buf, &quot;%.1f&quot;, Liczba);[/syntax]<br />Ewentualnie:<br /><br />[syntax=c]#include &lt;math.h&gt;<br />...<br />float Liczba_zaokr = round(10 * Liczba) / 10.;[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1183">atmel</a> — 10 mar 2015, o 10:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[anshar]]></name></author>
<updated>2015-03-10T10:39:10+01:00</updated>
<published>2015-03-10T10:39:10+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122893#p122893</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122893#p122893"/>
<title type="html"><![CDATA[Re: liczba dziesiętna]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122893#p122893"><![CDATA[
A może kolega by napisał gdzie to ma się wyświetlać i z czego? Może pokazał kod?<br />Myślę, że odpowiedź na pytanie znajdziesz tutaj <a href="http://forum.atnel.pl/topic6380.html"  class="postlink">http://forum.atnel.pl/topic6380.html</a> tylko zamiast %100 daj %10.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=7157">anshar</a> — 10 mar 2015, o 10:39</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Popeye]]></name></author>
<updated>2015-03-10T10:03:56+01:00</updated>
<published>2015-03-10T10:03:56+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122888#p122888</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122888#p122888"/>
<title type="html"><![CDATA[liczba dziesiętna]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=10996&amp;p=122888#p122888"><![CDATA[
Witam, chciałbym aby zamiast wyświetlanej liczby np. 1.27 wyświetlane było 1.3 do 1 liczby dziesiętnej.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=8900">Popeye</a> — 10 mar 2015, o 10:03</p><hr />
]]></content>
</entry>
</feed>