Method: XlsFunction::Converters::TimeSerialConverter::TimeSerial#hour
- Defined in:
- lib/xls_function/converters/time_serial_converter.rb
#hour ⇒ Object
53 54 55 |
# File 'lib/xls_function/converters/time_serial_converter.rb', line 53 def hour @hour ||= (serial / H_UNIT).round(15).to_i end |