mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:45:41 +00:00
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.
|
/// // True converts to 1.
|
||||||
/// </code>
|
/// </code>
|
||||||
/// </example>
|
/// </example>
|
||||||
public static long ToDouble(this bool value)
|
public static double ToDouble(this bool value)
|
||||||
{
|
{
|
||||||
return value.ToByte();
|
return value.ToByte();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user