class RubyXL::Cell

def value(args = {})

stripping any special formatting from RichText).
Gets massaged value of the cell, converting datatypes to those known to Ruby (that includes
def value(args = {})
  r = self.raw_value
  case datatype
  when RubyXL::DataType::SHARED_STRING then workbook.shared_strings_container[r.to_i].to_s
  when RubyXL::DataType::INLINE_STRING then is.to_s
  when RubyXL::DataType::RAW_STRING    then raw_value
  else
    if is then is.to_s
    elsif is_date? then workbook.num_to_date(r.to_f)
    elsif r.is_a?(String) && (r =~ NUMBER_REGEXP) then # Numeric
      if Regexp.last_match(1) != '' then r.to_f
      else r.to_i
      end
    else r
    end
  end
end