AriCalculator is a home made pocket calculator.
|
03-26-2019, 08:48 AM
(This post was last modified: 03-26-2019 08:51 AM by Dan.)
Post: #65
|
|||
|
|||
RE: AriCalculator is a home made pocket calculator.
I've ported quite a bit of functionality across, if anyone has C/C++ code for displaying the values stored on the stack to share that would save me some time.
At the moment I am using: sprint(valueString, %f, userStack[index]) to convert the double precision stack value stored in the array userStack to a string. I then display the string (valueString). The problem is the values are all left justified, with a decimal point when it is not needed, e.g. a sample display I get is 5 5.000000 4 125.360000 3 134.000000 2 23.000000 1 100.000000 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)