You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your issue. The field RawCellValue is used to specify get the cell value without applying the number format style, so this behavior is in expect, if you wanna get the formatted result, please set the RawCellValue value as false. In addition, the library support applying partial built-in and custom number format, this feature working in progress, so as the documentation noted, if the cell format can be applied to the value of a cell, the applied value will be returned, otherwise, the original value will be returned. Please also reference issue #660.
xuri
changed the title
获取单元格值格式化后的值,设置RawCellValue无效
Get the formatted cell value when setting RawCellValue as true 获取单元格值格式化后的值,设置RawCellValue无效
Jan 12, 2023
例如获取这里面的US$1800 实际得到的是1800 获取不到格式化后的值
f.GetCellValue(sheetName,"G10", excelize.Options{
RawCellValue: true,
})
The text was updated successfully, but these errors were encountered: