Skip to content

Commit

Permalink
Add derivations of litre
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Oct 31, 2019
1 parent 2b1ba8d commit 2438a76
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
12 changes: 12 additions & 0 deletions quantulum3/_lang/en_US/tests/quantities.json
Original file line number Diff line number Diff line change
Expand Up @@ -1251,6 +1251,18 @@
"req": "I arrived at 2.13 am.",
"res": []
},
{
"req": "Lets take the large 100 cl bottle instead.",
"res": [
{
"value": 100,
"unit": "centilitre",
"surface": "100 cl",
"entity": "volume",
"uncertainty": null
}
]
},
{
"req": "The bank robbery begun at 2pm and was over until 2.17pm.",
"res": []
Expand Down
60 changes: 59 additions & 1 deletion quantulum3/units.json
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,65 @@
"symbols": [
"l",
"L",
"ltr"
"ltr",
""
]
},
{
"name": "centilitre",
"surfaces": [
"centiliter",
"centilitre"
],
"entity": "volume",
"URI": "Centilitre",
"dimensions": [
{
"base": "centimetre",
"power": 3
}
],
"symbols": [
"cl",
"cL"
]
},
{
"name": "hectolitre",
"surfaces": [
"hectorlitre",
"hectorliter"
],
"entity": "volume",
"URI": "Hectolitre",
"dimensions": [
{
"base": "decimetre",
"power": 3
}
],
"symbols": [
"hl",
"hL"
]
},
{
"name": "decilitre",
"surfaces": [
"decilitre",
"deciliter"
],
"entity": "volume",
"URI": "Decilitre",
"dimensions": [
{
"base": "centimetre",
"power": 3
}
],
"symbols": [
"dl",
"dL"
]
},
{
Expand Down

0 comments on commit 2438a76

Please sign in to comment.