mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-23 00:18:47 +00:00
Use double parameter for double.ToBoolean
This commit is contained in:
parent
45eb0ef415
commit
3d44132865
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace X10D
|
||||
{
|
||||
@ -133,7 +133,7 @@ namespace X10D
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> is not zero, or <see langword="false" /> otherwise.
|
||||
/// </returns>
|
||||
public static bool ToBoolean(this float value)
|
||||
public static bool ToBoolean(this double value)
|
||||
{
|
||||
return value != 0.0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user