diff --git a/src/nodes/parse.rs b/src/nodes/parse.rs index ec44b3f..f4375f5 100644 --- a/src/nodes/parse.rs +++ b/src/nodes/parse.rs @@ -10,7 +10,7 @@ impl Node { Ok(match s { "c" => Self::from(299_792_458), "A" => Self::from(6.02214076e23), - "pi" => Self::from(f64::consts::PI), + "pi" | "π" => Self::from(f64::consts::PI), // Planck's constant, in J*s (joule-seconds) "h" => Self::from(6.62607015e-34), "e" => Self::from(f64::consts::E),