Single.LessThan(Single, Single) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
static bool operator <(float left, float right);
public:
static bool operator <(float left, float right) = System::Numerics::IComparisonOperators<float, float, bool>::op_LessThan;
public static bool operator <(float left, float right);
static member ( < ) : single * single -> bool
Public Shared Operator < (left As Single, right As Single) As Boolean
参数
- left
- Single
要比较的第一个值。
- right
- Single
要比较的第二个值。
返回
true 如果 left 小于 right,则为 ;否则为 false。
实现
注解
该方法 LessThan 为值定义小于运算符 Single 的操作。