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

Function toNumber

apps/sim/lib/billing/utils/decimal.ts:24–26  ·  view source on GitHub ↗
(value: Decimal)

Source from the content-addressed store, hash-verified

22 * Use this at the final step when returning values.
23 */
24export function toNumber(value: Decimal): number {
25 return value.toNumber()
26}
27
28/**
29 * Format a Decimal to a fixed string for database storage.

Calls

no outgoing calls

Tested by

no test coverage detected