Update VolumeConverter.kt

Deciliter and Centiliter were mixed up.

See https://en.wikipedia.org/wiki/Litre#SI_prefixes_applied_to_the_litre
This commit is contained in:
Herman van Rink 2024-02-13 11:29:13 +01:00 committed by GitHub
parent 7ab1a8da5f
commit c2c4c53bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,20 +43,20 @@ object VolumeConverter : Converter {
key = "Liter"
)
data object Centiliter : Unit(
nameResId = R.string.unit_volume_centiliter,
symbolResId = R.string.unit_volume_centiliter_symbol,
factor = 0.0001,
key = "Centiliter"
)
data object Deciliter : Unit(
nameResId = R.string.unit_volume_deciliter,
symbolResId = R.string.unit_volume_deciliter_symbol,
factor = 0.00001,
factor = 0.0001,
key = "Deciliter"
)
data object Centiliter : Unit(
nameResId = R.string.unit_volume_centiliter,
symbolResId = R.string.unit_volume_centiliter_symbol,
factor = 0.00001,
key = "Centiliter"
)
data object Milliliter : Unit(
nameResId = R.string.unit_volume_milliliter,
symbolResId = R.string.unit_volume_milliliter_symbol,