Using Pam's idea for Decimal Numbers

Posted by Jean Ichbiah ® , 02/28/2004, 18:08:25 Reply   Forum


Pam,

You can use the same approach for decimal numbers. Just define

   dn  {Command}{Backspace}{Left}{Left}.{End}

Now you type

   1245 dn/ 
And this gives you the number 12.45 with a space at the end. Note that the Backspace is needed to remove the space afer 45. Then expansion adds another space.

So, with Pam's idea, we can replace Pam's Decimal glossary with just a few entries:

   dn   {Command}{Backspace}{Left}{Left}.{End}

dn2 {Command}{Backspace}{Left}{Left}.{End}
dn3 {Command}{Backspace}{Left}{Left}{Left}.{End}
dn4 {Command}{Backspace}{Left}{Left}{Left}{Left}.{End}

The first two entries are for 2 decimals. Then dn3 is for 3 decimal digits, and dn4 for 4.

Jean Ichbiah




Edit | Reply | | View All | |   | Current page | Author
Followups