mirror of https://github.com/oliverbooth/X10D
Fix return type on bool.ToDouble
This commit is contained in:
parent
8ddf3dfc30
commit
49c037391a
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue