<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>how do i represent 0.1 in keil uvision4</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/30687/how-do-i-represent-0-1-in-keil-uvision4</link><description> 
i am writing a code to convert c-&amp;gt;f and i need to show the
value after decimal. 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: how do i represent 0.1 in keil uvision4</title><link>https://community.arm.com/thread/118424?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2013 12:25:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:934a7100-80bd-4d1d-ad8d-46e030d8fff7</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
So what&amp;#39;s the problem? Presumably you have some prior coursework
underpinning the assignment.&lt;/p&gt;

&lt;p&gt;
Which architecture are we talking about? Assembler is sufficiently
different that this is an important detail to provide when asking a
question.&lt;/p&gt;

&lt;p&gt;
You could represent 123.45 F as 12345&lt;/p&gt;

&lt;p&gt;
int f = 12345;&lt;br /&gt;
printf(&amp;quot;%3d.%02d\n&amp;quot;, f / 100, f % 100);&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do i represent 0.1 in keil uvision4</title><link>https://community.arm.com/thread/81336?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2013 11:44:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:70e1953c-f422-4782-9017-b41866ce87d4</guid><dc:creator>prateek kumar</dc:creator><description>&lt;p&gt;&lt;p&gt;
how do i represent it it assembly language. i am supposed to write
a program to convert celcius to farenhiet. plzz help&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how do i represent 0.1 in keil uvision4</title><link>https://community.arm.com/thread/62102?ContentTypeID=1</link><pubDate>Sun, 07 Jul 2013 07:02:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:55538d82-e4d2-4c40-a40b-1f6db342e647</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
So can you use floating point values and printf() with %f or
%lf?&lt;/p&gt;

&lt;p&gt;
If you have to use integers couldn&amp;#39;t you just scale by 10 or 100,
and handle that in your output/display routines?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>