MCPcopy Create free account
hub / github.com/denoland/std / decimal

Function decimal

http/unstable_structured_fields.ts:178–180  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

176 * ```
177 */
178export function decimal(value: number): Extract<BareItem, { type: "decimal" }> {
179 return { type: "decimal", value };
180}
181
182/**
183 * Creates a string Bare Item.

Callers 2

fnFunction · 0.90
convertExpectedBareItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected