Added pressure : kilopascal

This commit is contained in:
Zachary Sunforge
2024-11-12 12:37:32 -08:00
parent dae7ae8a98
commit 9bc42b8b04
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
use crate::quantity::{Quantity, Value}; use crate::quantity::{Quantity, Value};
use generate_quantity::quantity_type; use generate_quantity::quantity_type;
//----- Watter per Square Meter ---------------------------------- //----- Watts per Square Meter ----------------------------------
quantity_type! {WattsPerSquareMeter, "W/m²"} quantity_type! {WattsPerSquareMeter, "W/m²"}

5
src/quantity/pressure.rs Normal file
View File

@ -0,0 +1,5 @@
use crate::quantity::{Quantity, Value};
use generate_quantity::quantity_type;
//----- Kilopascal ----------------------------------
quantity_type! {KiloPascal, "kPa"}