Posted 22 December 2025, 9:33 am EST
When pasting values formatted as Accounting from Excel or Google Sheets into SpreadJS, the pasted cells are treated as strings instead of numeric values. This issue does not occur when pasting the same values between Excel and Google Sheets, where they remain numeric, nor when pasting currency-formatted values into SpreadJS.
The problem is especially confusing to the end user because positive accounting values are handled correctly (parsed as currency/numbers), while negative accounting values are not, resulting in inconsistent behaviour within the same paste operation.
Steps to Reproduce
- In Excel or Google Sheets, format cells using Accounting format.
- Enter values such as: $100,000.00, $(200,000.00)
- Copy the cells.
- Paste them into a SpreadJS worksheet.
Expected Result
All pasted values (positive and negative) are parsed as numeric values with appropriate currency/accounting formatting.
Actual Result
Negative values are pasted as strings, while positive values are interpreted correctly.



