ENG button in Casio calculator
|
06-09-2016, 05:57 AM
Post: #12
|
|||
|
|||
RE: ENG button in Casio calculator
Hi Salvo,
The following codes are used to delete the leading zero. eg. 1.250000E0 => 1.25E0 =================== LOCAL pos,s,i,sign; IF TYPE(x)==0 THEN s:=STRING(x,4,11); WHILE INSTRING(s,"0ᴇ") DO s:=REPLACE(s,"0ᴇ","ᴇ") END; RETURN s; END; =================== Do you find any problem or bug about these code? I noticed that you didn't add these code into your program. Thanks! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)