Post Reply 
(11C) Currency Converter
10-01-2018, 01:00 PM (This post was last modified: 10-01-2018 01:37 PM by Gamo.)
Post: #4
RE: (11C) Currency Converter
This update now don't use the
Reverse Division and Sign Change as Flags.

So this one is the straight forward program now all conversions
is in there own labels.

LBL A convert USD --> Euro // 5 --> 4.31
LBL B convert USD --> GBP // 5 --> 3.84
LBL C convert Euro --> USD // 20 --> 23.19
LBL D convert GBP --> USD // 20 --> 26.05

Program: Currency Converter Updated II
Code:

LBL A
RCL 0
x
RTN
LBL 1
RCL 0
÷
RTN
------------------------------------------
LBL B
RCL 1
x
RTN
LBL 2
RCL 1
÷
RTN
-----------------------------------------
LBL C
GSB 1
RTN
----------------------------------------
LBL D
GSB 2
RTN

----------------------------------------

Updated III Use Signs as Flags with only two labels.
Code:

LBL A
X>0
GTO 1
RCL 0
÷
CHS
RTN
LBL 1
RCL 0
x
RTN
----------------------------------------
LBL B
X>0
GTO 2
RCL 1
÷
CHS
RTN
LBL 2
RCL 1
x
RTN

Example:

5 [A] ---> 4.31 // USD to Euro
20 [CHS] A ----> 23.19 // Euro to USD

5 [B] ---> 3.84 // USD to GBP
20 [CHS] [B] ---> 26.05 // GBP to USD

Remark:
Of all 3 versions the most user friendly
I believed is the Updated II
Personally I like Updated III

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Currency Converter - Gamo - 10-01-2018, 06:00 AM
RE: (11C) Currency Converter - Dieter - 10-01-2018, 11:58 AM
RE: (11C) Currency Converter - Albert Chan - 10-01-2018, 12:49 PM
RE: (11C) Currency Converter - Gamo - 10-01-2018 01:00 PM
RE: (11C) Currency Converter - Dieter - 10-01-2018, 04:02 PM
RE: (11C) Currency Converter - Albert Chan - 10-01-2018, 04:37 PM
RE: (11C) Currency Converter - Dieter - 10-01-2018, 06:05 PM
RE: (11C) Currency Converter - Albert Chan - 10-01-2018, 06:28 PM
RE: (11C) Currency Converter - Gamo - 10-02-2018, 01:53 AM



User(s) browsing this thread: 1 Guest(s)