sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

sheet_to_json always returning formatted values

Open bimal1331 opened this issue 11 years ago • 1 comments

How do I access raw values? We need floating point precison and sheet_to_json return truncated floats. Looks like I can access raw value by workbook.Sheets[name]['I3'].v but no format option to pass in sheet_to_json method.

bimal1331 avatar Jul 24 '15 10:07 bimal1331

The sheet_to_json function takes an options argument. If you pass {raw:true} as the second argument it will give you the raw values.

reviewher avatar Mar 11 '17 02:03 reviewher