Skip to content

HUF should have 100 as subunit  #778

@patanachai

Description

@patanachai

revert of this: #677

According to ISO 4217, the HUF currency should have exponent of 2.
I have worked on the app that deals with Google and Apple in-app purchases. The amount in HUF currency that both sent through API is in subunit (fillér).
When I try to convert it to my currency, the library give a wrong output.

For example,
Google sent 100000 UHF, the library will convert to ~38555 cents ($385).
But, it should just be 385 cents ($3.85) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions