Format 0.0#
not displaying second decimal digit
#677
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#677
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When trying to read decimal numbers from excel, numbers are getting rounded off. E.g. 15.06 comes as 15.1 in json.
@kuhu19 The only time the library should be rounding a cell is if the cell format forces a round. For example, if the cell is formatted as Number with 1 decimal place, Excel will draw
15.1
on the worksheet but show15.06
in the formula bar.If you want to see the underlying raw value, you can pass the option
raw:false
If you have a file where Excel is showing the value
15.06
but the library is showing15.1
, please share the file (you can email dev@sheetjs.com) and we will take a lookTo add more info here, rounding is always upto 1 decimal place.