[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua Xls: getting result when cell:Type() == cell.FORMULA
- From: Procházka Lukáš Ing. <LPr@...>
- Date: Tue, 28 Apr 2020 14:33:06 +0200
Hello,
the xls library for lua (https://github.com/jjensen/lua-xls) provides Cell object;
calling cell:Type() may return one of these:
cell.UNDEFINED
cell.INT
cell.DOUBLE
cell.STRING
cell.WSTRING
cell.FORMULA
How to obtain value of the result when cell:Type() == cell.FORMULA?
Methods:
cell:GetInteger()
cell:GetDouble() (resp.)
seem to work only when cell:Type() == cell.INT (or cell.DOUBLE resp.).
But how do I obtain integer or double value when cell:Type() == cell.FORMULA?
Best regards,
Lukas
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org