forked from adam/discord-bot-shtik
how the hell did I not have mm
This commit is contained in:
parent
423fe5cb96
commit
51fb08810d
@ -115,7 +115,7 @@ namespace vassago.Conversion
|
||||
}
|
||||
else
|
||||
{
|
||||
return $"{String.Format("{0:G4}", accumulator)} {normalizedDestUnit}";
|
||||
return $"{String.Format("{0:G4}", accumulator)} {normalizedDestUnit}s";
|
||||
}
|
||||
}
|
||||
return "dimensional analysis failure - I know those units but can't find a path between them.";
|
||||
|
@ -36,6 +36,13 @@
|
||||
"metre"
|
||||
]
|
||||
},
|
||||
{
|
||||
"canonical":"mm",
|
||||
"aliases": [
|
||||
"millimeter",
|
||||
"millimetre"
|
||||
]
|
||||
},
|
||||
{
|
||||
"canonical":"km",
|
||||
"aliases": [
|
||||
@ -230,6 +237,7 @@
|
||||
{"item1":"mi", "item2":"ft", "factor":5280},
|
||||
{"item1":"m", "item2":"in", "factor":39.37008},
|
||||
{"item1":"m", "item2":"cm", "factor":100},
|
||||
{"item1":"cm", "item2":"mm", "factor":10},
|
||||
{"item1":"km", "item2":"mi", "factor":0.6213712},
|
||||
{"item1":"ft", "item2":"in", "factor":12},
|
||||
{"item1":"yd", "item2":"ft", "factor":3},
|
||||
|
Loading…
Reference in New Issue
Block a user