miachm / SODS

A simple Java library for handle ODS (Open Document Spreadsheet, compatible with Excel and Libreoffice)
The Unlicense
74 stars 30 forks source link

Default currency when office:currency is null #48

Closed adn35350 closed 2 years ago

adn35350 commented 2 years ago

Microsoft Excel doesn't provide office:currency tag for currency cell type. It throws NullPointerException when retrieve Currency object. In this case, use the system default currency

miachm commented 2 years ago

Ah, Microsoft Excel strikes again!

Thank you for the catch up! I need to update this PR with a test and I'll merge it later

miachm commented 2 years ago

Let's merge first.