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