Round function

Post your requests and ideas on the future development of mikroBasic PRO for PIC.
Post Reply
Author
Message
pat.afix78
Posts: 4
Joined: 26 Aug 2010 11:06

Round function

#1 Post by pat.afix78 » 16 Jul 2014 23:59

Hi all,

I am currently using MikroBasic Pro :D . I am begginer :?
I tried to write a function that can display a number with a specific format such as ##.###
No thing simple at all. I guess an optimized library may help
Would you please create a Basic library ?
It may look like : round(number as float, " #.####") as string.

Thanks a lot
Patrice

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Round function

#2 Post by marina.petrovic » 18 Jul 2014 16:08

Hi,

Thank you very much for your suggestion, I will pass it to our software developers and they will certainly consider it.

You can take a look at our Conversion library in compiler Help file.
Maybe some routines from the library can help you.

Best regards,
Marina

pat.afix78
Posts: 4
Joined: 26 Aug 2010 11:06

Re: Round function

#3 Post by pat.afix78 » 19 Jul 2014 11:12

Thanks I will try this way first.
Patrice

Post Reply

Return to “mikroBasic PRO for PIC Wish List”