Float rounding for displaying library

Post your requests and ideas on the future development of mikroC PRO for PIC.
Post Reply
Author
Message
estradajae
Posts: 41
Joined: 26 Jan 2010 06:10

Float rounding for displaying library

#1 Post by estradajae » 23 Mar 2011 23:17

Hi Mikroe Team

Recently I've been using some floating numbers on PIC18 MCUs.... and have found pretty unconvinient when I use the floattostr function because I can't control how many decimal digits I get out of it....

Using sprintf works pretty well but takes about 32% of the ROM (in a 48k flash MCU) so it takes a hughe amount of memory.

It would be nice something like floattostr that supports both scientific notation as well as float notation (xxx.xx) with a user defined decimal digits and with rounding ...(ok...just like sprintf but without taking so much rom)..

Thanks for reading


Jorge

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: Float rounding for displaying library

#2 Post by tihomir.losic » 24 Mar 2011 11:53

Hello Jorge,

I will pass this to our developers,
and they will take it into consideration for some of future releases.

Thank you for your support.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

CVMichael
Posts: 239
Joined: 30 Apr 2009 02:36
Location: Canada, Toronto

Re: Float rounding for displaying library

#3 Post by CVMichael » 28 Apr 2011 20:41


Post Reply

Return to “mikroC PRO for PIC Wish List”