This dictionary should be fully compatible with the default number system, but adds a number of enhancements.
Compared to the standard number handling:
EU
,E
(for Multisteno) orU
(for Uni) reverses any stroke, and works with any number of digits130EU79
produces "97031"
DZ
will convert a number to hundreds of dollars, and works with multiple strokes1DZ
produces "$100"1/2DZ
produces "$1,200"
Z
will suffix "00"2Z
produces "200"2/3Z
produces "2300"23Z
produces "2300"
*
will add a decimal point after12*/34
produces "12.34"
*S
will add a comma after12*S/340*/50
produces "12,340.50"
*Z
will add the suffix ',000'12*Z
or12/*Z
produces "12,000"12*Z/*Z
produces "12,000,000"
D
will always double the last digit1D
produces "11"12D
produces "122"123EUD
produces "3211"
R
converts a number to roman numerals.*
for lower case.12R
produces "XII"19/29EUR
produces "MCMXCII" (1992 in roman numerals)- This will only work for numbers between 1 and 3999 inclusive.
KWR-
and-RBG
are used to type years in a single strokeKWR-
will add 1900 to the value, while-RBG
will add 2000 to it.24-RBG
produces "2024"KWR0EU8
produces "1980"
WR-
or-RB
will format the entire number as a dollar value.23WR
or23-RB
produces "$23"1/12RB
produces "$112"1234RB
produces "$1,234"1234*RB
produces "$1,234.00"1234*/50RB
produces "$1,234.50"
KR-
or-RG
will suffix the entire number with a percent symbol23KR
or23-RG
produces "23%"1/12KR
produces "112%"1KRZ
produces "100%"
W
orB
will add ordinal suffixes:1B
produces "1st"1BD
or1/1B
produces "11th"2/1B
produces "21st"
- Clock timings are supported
K-
or-BG
will add the suffix ":00"- Using
K
combined withB
and/orG
give 15 minute increments:12KG
produces "12:15"12KB
produces "12:30"12KBG
produces "12:45"
- Adding
-S
or*S
will suffix 'a.m.' or 'p.m.'
G
will convert the number to words12G
produces "twelve"2*GZ
produces "two thousand"12*Z/*GZ
produces "twelve million"- Note that
-S
suffix with Plover's orthography rules will work as expected:30GS
produces "thirties"
- Can be combined with
W-
to give ordinal words:12WEUG
: produces "twenty-first".1W0GS
: produces "tenths".- This can also be done as a suffix stroke:
1Z/#W-G
: produces "one hundredth".
- In plover, first install plover-python-dictionary
- Save jeff-numbers.py from this repository
- Drag and drop the file into plover, and ensure it is listed above
main.json
You may also be interested in: