Tag Archive: siunitx

siunitx for rounding to 2 decimals exactly

#bankstatement #develop

The latest version of bankstatement ensures that account transactions having exactly two decimals. Especially when an amount of e.g. 16.2€ is stored in the csv file (16.2 → 16.20).

In addition, the use of siunitx allows the determination of the decimal marker on dependence on the language – however independent of notation in the csv file, like \sisetup{output-decimal-marker={.}} in the file stmenglish.def. This is more important in other languages where the comma acts as decimal marker!