From e9c2e16b5a61322b0e3e98b8a6988ae9fb19e327 Mon Sep 17 00:00:00 2001 From: atef Date: Mon, 10 Jul 2023 10:07:00 +0200 Subject: [PATCH] Add percent in Units --- csharp/Lib/Units/Units.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/Lib/Units/Units.cs b/csharp/Lib/Units/Units.cs index 161b52a0e..50fae56a2 100644 --- a/csharp/Lib/Units/Units.cs +++ b/csharp/Lib/Units/Units.cs @@ -21,6 +21,7 @@ public static class Units public static Temperature Celsius(this Double value) => value; public static Energy KWh (this Double value) => value * 1000; public static Energy Wh (this Double value) => value; + public static Percent Percent(this Double value) => value; public static String ToCsv(this Object thing) {