Imprimir

# Calculator blog

Musings and comments about our common interest

## Currency Exchange for the HP41CL

Due to my job, I have to travel a lot - and therefore, currency exchange is an issue. And it is not just USD to EUR. I am “living” in Euro (meaning my salary is in Euros), but I need to pay (and analyze businesses results) in:

• Swiss Francs
• US Dollars
• British Pound
• Norwegian Kroner
• Swedish Kroner

And the solution given by the HP17bII+ is the best of the built-in solutions in my knowledge - but there are ways to improve upon that - see our examples for the HP Prime in past blog issues.

Now, my other calculator of choice nowadays is the HP 41CL. Its enormous memory capacity and the access to all modules allow to do many things, and make it a practical choice for everyday calculations. So I set to create a program practical enough for everyday use - for MY use, i.e.

I will use the 5 upper function keys and its shifted functions too. The main function is the conversion of the foreign currency TO Euro, and the shifted function is FROM Euro to the foreign currency. I use the registers 24 to 29 to store the exchange rates against the Euro, as foreign units per Euro (when you have all the registers you want, you don’t care anymore for SIZE - that’s the good thing about the 41CL)

 1 LBL “EXCHN” 2 “NK \$ CH & SK” 3 AVIEW 4 RTN 5 LBL A 6 RCL 24 7 / 8 RTN 9 LBL a 10 RCL 24 11 * 12 RTN 13 LBL B 14 RCL 25 15 / 16 RTN 17 LBL b 18 RCL 25 19 * 20 RTN 21 LBL C 22 RCL 26 23 / 24 RTN 25 LBL c 26 RCL 26 27 * 28 RTN 29 LBL D 30 RCL 27 31 / 32 RTN 33 LBL d 34 RCL 27 35 * 36 RTN 37 LBL E 38 RCL 28 39 / 40 RTN 41 LBL e 42 RCL 28 43 * 44 RTN 45 END

Leer mensaje completo
Más sobre: