HP Forums

Full Version: Results in Strings on the HP 42S Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Say I have a numerical result stored in the variable X. (For example X = 1.45). I want to display "The amount is 1.45".

How do I concert X into a string and then attach it to "The amount is "? Thanks in advance.
(07-08-2016 12:20 AM)Eddie W. Shore Wrote: [ -> ]Say I have a numerical result stored in the variable X. (For example X = 1.45). I want to display "The amount is 1.45".

How do I concert X into a string and then attach it to "The amount is "? Thanks in advance.

Put "The amount is " into Alpha, then
ARCL ST X, which appends STack level X into Alpha.
Reference URL's