Skip to content

Instantly share code, notes, and snippets.

@Netail
Last active June 4, 2024 19:54
Show Gist options
  • Save Netail/0f3cc14c46fec9994b8158ec96e3d2c4 to your computer and use it in GitHub Desktop.
Save Netail/0f3cc14c46fec9994b8158ec96e3d2c4 to your computer and use it in GitHub Desktop.
interface Price {
value: number; // Integer value (cents)
currencyCode: string; // e.g. EUR, USD (ISO 4217)
currencyDenominator: number; // Integer value to devide the value with
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment