-
-
Save laevandus/d7d4ac360a2bafd1b9c33b78dc4e4886 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let measurement1 = Measurement(value: 3.2, unit: UnitElectricCurrent.amperes) | |
let measurement2 = Measurement(value: 0.02, unit: UnitElectricCurrent.kiloamperes) | |
print(measurement1 + measurement2) | |
// 23.2 A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment