Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/windows/core_ext/numeric.rb
Instance Method Summary collapse
Instance Method Details
#percent(arg) ⇒ Object
2 3 4 |
# File 'lib/windows/core_ext/numeric.rb', line 2 def percent(arg) (self * arg / 100).floor end |