MCPcopy Index your code
hub / github.com/simstudioai/sim / creditsToDollars

Function creditsToDollars

apps/sim/lib/billing/credits/conversion.ts:20–22  ·  view source on GitHub ↗
(credits: number)

Source from the content-addressed store, hash-verified

18 * credit-denominated input (e.g. per-member usage limits).
19 */
20export function creditsToDollars(credits: number): number {
21 return credits / CREDIT_MULTIPLIER
22}
23
24/**
25 * Single source of truth for rendering a dollar cost as a credit label.

Callers 5

query_runs.tsFile · 0.90
evaluateRuleFunction · 0.90
conversion.test.tsFile · 0.90
UsageLimitFieldFunction · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected