Forum - MCS Electronics
View previous topic :: View next topic
Author
Message
JC Joined: 15 Dec 2007 Posts: 584 Location: Cleveland, OH
Posted: Thu Jun 06, 2019 7:46 pm Post subject: Display Double type on LCD not in scientific format
I am using V 2.0.8.1
I have a Double type variable that I want to display on a 2x20 Character LCD.
LCD dVar displays the variable in Scientific Format.
I want to display the variable in Normal format.
I see that there is a Config Single = Normal; but there does not appear to be a similar command for the Double type.
I see that one can Format a Single type variable using Fusing, but that also appears to not support the Double type.
Perhaps there is a built-in parameter or command to convert a Double type variable to a String type variable in Normal, (non-Scientific) format?
Thank you,
Jay
(BASCOM-AVR version : 2.0.8.1 , Latest : 2.0.8.1 )
Back to top
albertsm Joined: 09 Apr 2004 Posts: 5913 Location: Holland
Posted: Thu Jun 06, 2019 7:58 pm Post subject:
no there is not such an option. _________________ Mark
Back to top
JC Joined: 15 Dec 2007 Posts: 584 Location: Cleveland, OH
Posted: Thu Jun 06, 2019 9:51 pm Post subject:
Hi Mark,
Thank you for your super fast reply!
Not a problem, I was just looking for the "easy" solution.
Guess I'll have to write my own...
Thank you
Jay
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum