Fix return type on bool.ToDouble

This commit is contained in:
Oliver Booth 2021-03-12 11:53:08 +00:00
parent 8ddf3dfc30
commit 49c037391a
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ namespace X10D.BooleanExtensions
/// // True converts to 1.
/// </code>
/// </example>
public static long ToDouble(this bool value)
public static double ToDouble(this bool value)
{
return value.ToByte();
}