Format text is literal; class runs are {digits(n)} {upper(n)} {lower(n)}; a string is a format
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
{
|
||||
"format": "${amt}.{cents}",
|
||||
"amt": [
|
||||
{ "format": "1", "weight": 2 },
|
||||
{ "format": "10", "weight": 4 },
|
||||
{ "format": "100", "weight": 3 },
|
||||
{ "format": "1#,000", "weight": 1 },
|
||||
{ "format": "10#,000", "weight": 0.4 },
|
||||
{ "format": "100#,000", "weight": 0.1 }
|
||||
{ "format": "{int(1,9)}", "weight": 2 },
|
||||
{ "format": "{int(10,99)}", "weight": 4 },
|
||||
{ "format": "{int(100,999)}", "weight": 3 },
|
||||
{ "format": "{int(1,9)},{digits(3)}", "weight": 1 },
|
||||
{ "format": "{int(10,99)},{digits(3)}", "weight": 0.4 },
|
||||
{ "format": "{int(100,999)},{digits(3)}", "weight": 0.1 }
|
||||
],
|
||||
"cents": [
|
||||
{ "format": "00", "weight": 3 },
|
||||
{ "format": "{digits(2)}", "weight": 3 },
|
||||
"49",
|
||||
"95",
|
||||
"99"
|
||||
|
||||
Reference in New Issue
Block a user