summaryrefslogtreecommitdiffstats
path: root/src/IOL.Helpers/DoubleHelpers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/IOL.Helpers/DoubleHelpers.cs')
-rw-r--r--src/IOL.Helpers/DoubleHelpers.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/IOL.Helpers/DoubleHelpers.cs b/src/IOL.Helpers/DoubleHelpers.cs
index 91d88ee..44f01d5 100644
--- a/src/IOL.Helpers/DoubleHelpers.cs
+++ b/src/IOL.Helpers/DoubleHelpers.cs
@@ -1,11 +1,10 @@
using System;
-namespace IOL.Helpers
+namespace IOL.Helpers;
+
+public static class DoubleHelpers
{
- public static class DoubleHelpers
- {
- public static string ToStringWithFixedDecimalPoints(this double value) {
- return $"{Math.Truncate(value * 10) / 10:0.0}";
- }
+ public static string ToStringWithFixedDecimalPoints(this double value) {
+ return $"{Math.Truncate(value * 10) / 10:0.0}";
}
-} \ No newline at end of file
+}