Skip to content

Add numeric currency code by ISO 4217 standard #2289

@letehaha

Description

@letehaha

Clear and concise description of the problem

Right now finance.currency has a structure of { code: 'USD', name: 'US Dollar', symbol: '$' }, but in many financial application I usually see numeric currency code usage, instead of string (so 840 instead of USD).

Suggested solution

The suggestion is to add numericCode (probably needs a better name) to the currency object inside faker.finance.

I can try to implement that by myself

Alternative

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

c: featureRequest for new featuregood first issueGood for newcomershelp wantedExtra attention is neededm: financeSomething is referring to the finance modulep: 1-normalNothing urgents: acceptedAccepted feature / Confirmed bug

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions