Skip to content

The open source coding agent.

TypeScript
185 B
Raw Blame
export function centsToMicroCents(amount: number) {
  return Math.round(amount * 1000000)
}

export function microCentsToCents(amount: number) {
  return Math.round(amount / 1000000)
}