Convert numeric to alpha for display



I'm trying to display a 5.0N to a 3A field.

1) First I did this:
Eval(R) alpha3 = %EDITC(numeric5 : 'K');
* Values less than 100 showed up as 3 blanks.
* Values 100 and above showed up as 2 blanks and a "1"

2) Try #2:
Eval(R) alpha3 = %TRIM( %EDITC(numeric5 : 'K');
* Values less than 100 showed up as "digit, digit, 1 blank"
* Values 100 and above showed up as a 3 digit number as desired

3) Try #3:
Eval(R) alpha3 = %TRIMR( %EDITC(numeric5 : 'K');
* Values less than 100 showed up as "digit, digit, 1 blank"
* Values 100 and above showed up as a 3 digit number as desired

4) Try #5:
Eval(R) alpha3 = %TRIML( %EDITC(numeric5 : 'K');
* Values less than 100 showed up as "digit, digit, 1 blank"
* Values 100 and above showed up as a 3 digit number as desired

So far the only other option I can see is to move the values to a 3.0N
and then do option #1.

TIA for any help anyone can give.

.



Relevant Pages

  • Re: tech: Stern displays issues
    ... The easy one - The six-digit match/credit display is missing the ... 10'000's digit (which is the tens digit of the credits left half of the ... problem, and two, the 100K resistor in this circuit registers 97K ohms, ... 300K resistor in the other bad circuit would show 297 for a single beat, ...
    (rec.games.pinball)
  • Re: Funhouse display question?
    ... showing extra letters and a misiing digit, ... it is how much would someone charge to fix the display? ... display 1 pin 19. ... Even though each display has it's own pair of 6118 chips feeding each ...
    (rec.games.pinball)
  • Re: LCD Number on Signal Generator has a line out
    ... I tried it on my Oscope, ... When I turned it on to run it into the Oscope, I found that a digit is ... I plan to sell this, and is there any simple repair I can make? ... I opened the device and poked around with a eraser on a pencil to no effect on the 5-digit display panel and wires leading to the display. ...
    (sci.electronics.misc)
  • Re: Funhouse display question?
    ... showing extra letters and a misiing digit, ... it is how much would someone charge to fix the display? ... I do not believe the glass is the trouble though. ... display 1 pin 19. ...
    (rec.games.pinball)
  • Re: Funhouse display question?
    ... showing extra letters and a misiing digit, ... it is how much would someone charge to fix the display? ... I do not believe the glass is the trouble though. ... display 1 pin 19. ...
    (rec.games.pinball)