本文简要介绍ruby语言中  Float.self >=  的用法。
用法
self >= other → true or false
如果 self 在数值上大于或等于 other ,则返回 true :
2.0 >= 1              # => true
2.0 >= 1.0            # => true
2.0 >= Rational(1, 2) # => true
2.0 >= 2.0            # => true
2.0 >= 2.1            # => false
Float::NAN >= Float::NAN 返回一个与实现相关的值。
相关用法
- Ruby Float.self >用法及代码示例
 - Ruby Float.self - other用法及代码示例
 - Ruby Float.self / other用法及代码示例
 - Ruby Float.self < other用法及代码示例
 - Ruby Float.self % other用法及代码示例
 - Ruby Float.self + other用法及代码示例
 - Ruby Float.self ** other用法及代码示例
 - Ruby Float.self ==用法及代码示例
 - Ruby Float.self * other用法及代码示例
 - Ruby Float.self <=>用法及代码示例
 - Ruby Float.self <=用法及代码示例
 - Ruby Float.rationalize用法及代码示例
 - Ruby Float.truncate用法及代码示例
 - Ruby Float.quo用法及代码示例
 - Ruby Float.finite?用法及代码示例
 - Ruby Float.coerce用法及代码示例
 - Ruby Float.numerator用法及代码示例
 - Ruby Float.nan?用法及代码示例
 - Ruby Float.to_int用法及代码示例
 - Ruby Float.fdiv用法及代码示例
 - Ruby Float.next_float用法及代码示例
 - Ruby Float.eql?用法及代码示例
 - Ruby Float.to_d用法及代码示例
 - Ruby Float.to_i用法及代码示例
 - Ruby Float.modulo用法及代码示例
 
注:本文由纯净天空筛选整理自ruby-lang.org大神的英文原创作品 Float.self >=。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。
