Format text is literal; class runs are {digits(n)} {upper(n)} {lower(n)}; a string is a format
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
{
|
||||
"format": "{amt}{ore} kr",
|
||||
"amt": [
|
||||
{ "format": "1", "weight": 2 },
|
||||
{ "format": "10", "weight": 4 },
|
||||
{ "format": "100", "weight": 3 },
|
||||
{ "format": "1 000", "weight": 1 },
|
||||
{ "format": "10 000", "weight": 0.3 }
|
||||
{ "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.3 }
|
||||
],
|
||||
"ore": ["", { "format": ",{c}", "c": [{ "format": "00" }], "weight": 0.4 }]
|
||||
"ore": ["", { "format": ",{c}", "c": [{ "format": "{digits(2)}" }], "weight": 0.4 }]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user