mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-01 17:24:29 -05:00
Bunch more new UI
This commit is contained in:
7
WebDisplay/src/pressureConverter.ts
Normal file
7
WebDisplay/src/pressureConverter.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export function ConvertMillibarToInchesOfMercury(value: number): number {
|
||||
return value / 33.864;
|
||||
}
|
||||
|
||||
export function ConvertPascalToInchesOfMercury(value: number): number {
|
||||
return value / 33.864 / 100.0;
|
||||
}
|
||||
Reference in New Issue
Block a user