1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:58:48 +00:00

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

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();
}