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

ycxxww · 2012年10月28日 · 最后由 ycxxww 回复于 2012年10月30日 · 2506 次阅读

有没有人在使用这个插件的时候遇到部分 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

谢谢~~我去试试~~

需要 登录 后方可回复, 如果你还没有账号请 注册新账号