This commit is contained in:
Frank
2026-03-26 18:54:16 -04:00
parent b60d11dfe4
commit ae16537b21
2 changed files with 43 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
export function centsToMicroCents(amount: number) {
return Math.round(amount * 1000000)
}
export function microCentsToCents(amount: number) {
return Math.round(amount / 1000000)
}