From 3d44132865bd98c461908ba941582acba80fdadd Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 20 Jul 2021 17:20:35 +0100 Subject: [PATCH] Use double parameter for double.ToBoolean --- X10D/src/DoubleExtensions/DoubleExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/X10D/src/DoubleExtensions/DoubleExtensions.cs b/X10D/src/DoubleExtensions/DoubleExtensions.cs index 36d3c0e..b37cd61 100644 --- a/X10D/src/DoubleExtensions/DoubleExtensions.cs +++ b/X10D/src/DoubleExtensions/DoubleExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace X10D { @@ -133,7 +133,7 @@ namespace X10D /// /// if is not zero, or otherwise. /// - public static bool ToBoolean(this float value) + public static bool ToBoolean(this double value) { return value != 0.0; }