Skip to content

round half away from zero expected #25

@akoi77

Description

@akoi77

i entered my first invoice in ZUGFeRD-Manager ;-)

just 1 item 157,5 per unit 5 units ... result 787,50
19% tax - result 149,62
HM ... here i would expect 149,63 ... because 19% of 787,50 is exact 149,625 ... round half away from zero (german: kaufmänisches runden) 149,63

am i wrong?

thanks for have a look and clarification

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions