<?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>dtostrf() function not defined</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/29147/dtostrf-function-not-defined</link><description> 
Hello, 

 
i want to use the dtostrf() function of stdlib.h in uvision4,
because my sprintf() function of stdio.h make some mistakes by
convert a float value in a string. Instead of the decimal point,
value 0x20 will be set! The dtostrf() function are</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: dtostrf() function not defined</title><link>https://community.arm.com/thread/85477?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2012 09:35:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7f0611d1-ff74-4523-a926-6ed9096c2ab3</guid><dc:creator>Scott Douglass</dc:creator><description>&lt;p&gt;&lt;p&gt;
Getting the wrong character for decimal point sounds like it could
be a problem with not calling the the C library initialization code.
Are you using the standard startup code for your processor?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dtostrf() function not defined</title><link>https://community.arm.com/thread/61299?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2012 05:16:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:30de67d8-8b66-4405-94ff-6374861da287</guid><dc:creator>Mark Jones</dc:creator><description>&lt;p&gt;&lt;p&gt;
I would suggest posting an example for review. I have no problem
using sprintf() with floating point numbers in any of my
applications. Also post what version of the MDK you are using. I am
using 4.60 but have never had problems with my applications, I
believe I started with around version 4.20.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dtostrf() function not defined</title><link>https://community.arm.com/thread/61300?ContentTypeID=1</link><pubDate>Thu, 25 Oct 2012 02:23:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:185a07dc-f769-441e-ba53-26fa7b95a97e</guid><dc:creator>Mike Kleshov</dc:creator><description>&lt;p&gt;&lt;p&gt;
I guess there is no such function in the runtime library that
comes with Keil MDK. This function is not mentioned in the language
standard, so you shouldn&amp;#39;t expect it to be present.&lt;br /&gt;
I think you should try to resolve the issue you are having with
sprintf. Can you present your code? Maybe someone on this forum will
be able to help?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>