ROUND instruction not working as expected
|
05-03-2016, 01:29 AM
Post: #13
|
|||
|
|||
RE: ROUND instruction not working as expected
Well..., let's try this again.
I am using the ROUND instruction in a program. This is my code: QmFlow1:=ROUND(QmFlow1,0); My calculator is set to fix 4 (Number Format: in the Home settings). I now take QmFlow1 and use the INPUT instruction to display QmFlow1's value. In the above example, if QmFlow1's value was 123.4567, in v8151 it displayed as 123. In v10077 it displays as 123.0000. Per the on calc help file, ROUND(QmFlow1), rounds QmFlow1 to system display settings (or I interpret it as 123.0000). If optional places is given, ROUND(QmFlow1,0), rounds value to 0 decimal places (which I interpret should display the value as 123 or 123.). The example given in the help file, appears to bear that assumption out. It doesn't appear that Number Format: has any bearing on how QmFlow1 is displayed, at least per the example. All I can say is something changed in the way QmFlow1 is displayed in v10077. Either ROUND changed or INPUT changed or maybe something else changed. It's ok either way, but the help file should reflect how the instruction actually operates. rcf |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)