Skip to content

Commit

Permalink
Implement fix Ampere Hour Unit
Browse files Browse the repository at this point in the history
  • Loading branch information
raynigon committed Sep 13, 2020
1 parent a49c275 commit a4f5500
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private void createCustomUnits() {
Unit<ElectricCharge> ampereHour = new TransformedUnit<ElectricCharge>(
"Ah",
"Ampere-hour",
(Unit<ElectricCharge>) Units.COULOMB.multiply(Units.HOUR),
(Unit<ElectricCharge>) Units.COULOMB.multiply(3600),
AbstractConverter.IDENTITY);
addUnit(ampereHour);
}
Expand Down

0 comments on commit a4f5500

Please sign in to comment.