Ruby 有没有人遇见 spreadsheet 插件读取数据问题

ycxxww · October 28, 2012 · Last by ycxxww replied at October 30, 2012 · 2505 hits

有没有人在使用这个插件的时候遇到部分 float 数据时,读取出来的是一个日期数据的情况,请问怎么解决的呢?

row.at(3)试试 这里官方的描述 < Whenever a Cell’s Format describes a Date or Time, Spreadsheet will give you the decoded Date or DateTime value. Should you need to access the underlying Float, you may do the following: < < row.at(3) http://spreadsheet.rubyforge.org/GUIDE_txt.html

谢谢~~我去试试~~

You need to Sign in before reply, if you don't have an account, please Sign up first.