Skip to content

The open alternative to Salesforce, designed for AI.

254 B
Raw Blame
import { DOLLAR_TO_CREDIT_MULTIPLIER } from 'src/engine/metadata-modules/ai/ai-billing/constants/dollar-to-credit-multiplier';

export const convertDollarsToCreditsMicro = (dollars: number): number =>
  Math.round(dollars * DOLLAR_TO_CREDIT_MULTIPLIER);