Skip to content

Commit

Permalink
feat: h2o pressure conversion (closes #44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed May 27, 2024
1 parent 90709b2 commit cdc9f6f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PressureConverter : UnitConverter {
FactorUnit(R.string.bar, 1E5),
FactorUnit(R.string.millibar, 1E2),
FactorUnit(R.string.atmosphere, 101325.0),
FactorUnit(R.string.psi, 6894.757293168) // Pounds per Square Inch
FactorUnit(R.string.psi, 6894.757293168), // Pounds per Square Inch
FactorUnit(R.string.h2o, 249.082), // Inches of water
)
}
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<string name="millibar">Millibar</string>
<string name="atmosphere">Atmosphere</string>
<string name="psi">PSI</string>
<string name="h2o">H2O (Inches of water)</string>
<string name="lumen">Lumen</string>
<string name="candela">Candela</string>
<string name="lux">Lux</string>
Expand Down

0 comments on commit cdc9f6f

Please sign in to comment.