Notifications
Clear all
Topic starter
Can some tell me how to make a % sign in the value field for the results?:
HgbA1c Results Reference Range
HgbA1c: 6.3 6 - 8% controlled diabetics
In the form the the translation looks like this:
{FMT("HgbA1c:","B")}{AddSpace("HgbA1c:",25)}{FMT(OBSNOW("HGBA1C"),"")}{AddSpace(OBSNOW("HGBA1C"),15)}{FMT("6 - 8% controlled diabetics","B")}
Thanks in advance
Laurie
Posted : December 4, 2014 4:39 am
Update your text translation string, use the MEL numtoascii( n ) function. The ASCII table value for % sign is 37. So change to FMT("6 - 8" + numtoascii(37) + " controlled diabetics","B"). You can find ASCII tables searching on the web, if you need other characters.
- Beverly
Posted : December 4, 2014 12:51 pm