Ticket #418 (Duplicate)Thu Jan 14 18:11:49 UTC 2016
Scicalc leading zero in negative number
Reported by: | Peter Howkins (211) | Severity: | Enhancement |
Part: | RISC OS: Application | Release: | |
Milestone: | Status | Duplicate |
Details by Peter Howkins (211):
Start Scicalc
Press the sign button (+-) display is “-0”
Press a digit e.g. 6 display is “-06” should be “-6”
Potential fix, not actually tested
DEF PROCcalc_digit (key$)
line
IF Entry$=“0” THEN Entry$=key$ ELSE Entry$+=key$
replace with
IF Entry$=“0” THEN
Entry$=key$
ELSE
IF Entry$=“-0” THEN
Entry$=“-”key$
ELSE
Entry$=key$
ENDIF
ENDIF
This bug is not new, I think it’s been there forever
Changelog:
Modified by Sprow (202) Sun, February 07 2016 - 11:10:54 GMT
- Status changed from Open to Duplicate
This was integrated in SciCalc-0_86 in November 2015, based on your posting to the forum which contained similar info.