HP Forums

Full Version: 42S Alpha String Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm new to the 42S program style.

I try to create the message that shown answer

On display as [ MARKUP=45 % ]

To show MARKUP=45
The code is
STO "MARKUP"
VIEW "MARKUP"

How to put % after the number?

Thank You
Gamo
You have to do it all with strings & AVIEW (markup in X):
Code:
 "MARKUP = "
 AIP
 +"%"
 AVIEW
If you want to show decimals, use ARCL ST X i.o. AIP

Werner
Werner Thank You

I try

"Markup="
ARCL ST X
⊢" %"
AVIEW

This work out really good and display shown

[ MARKUP=55.55 % ]


Thanks

Gamo
Reference URL's