This commit is contained in:
Frank
2026-03-28 20:16:51 -04:00
parent 6639f92739
commit f7c2ef876f
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)
}