diff --git a/app/src/main/java/net/youapps/calcyou/data/converters/EnergyConverter.kt b/app/src/main/java/net/youapps/calcyou/data/converters/EnergyConverter.kt index 63fb472..3904045 100644 --- a/app/src/main/java/net/youapps/calcyou/data/converters/EnergyConverter.kt +++ b/app/src/main/java/net/youapps/calcyou/data/converters/EnergyConverter.kt @@ -9,8 +9,8 @@ class EnergyConverter : UnitConverter { FactorUnit(R.string.megajoule, 1E6), FactorUnit(R.string.calorie, 4.184), FactorUnit(R.string.kilocalorie, 4.184E3), - FactorUnit(R.string.grams_of_carbohydrate, 4.0 * 4.184), - FactorUnit(R.string.grams_of_fat, 9.0 * 4.184), - FactorUnit(R.string.grams_of_protein, 4.0 * 4.184) + FactorUnit(R.string.grams_of_carbohydrate, 4.0 * 4.184E3), + FactorUnit(R.string.grams_of_fat, 9.0 * 4.184E3), + FactorUnit(R.string.grams_of_protein, 4.0 * 4.184E3) ) } \ No newline at end of file