MCPcopy Create free account
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/src/BigDecimal.ts:135–140  ·  view source on GitHub ↗
(value: bigint, scale: number)

Source from the content-addressed store, hash-verified

133 * @since 2.0.0
134 */
135export const make = (value: bigint, scale: number): BigDecimal => {
136 const o = Object.create(BigDecimalProto)
137 o.value = value
138 o.scale = scale
139 return o
140}
141
142/**
143 * Internal function used to create pre-normalized `BigDecimal`s.

Callers 8

makeNormalizedUnsafeFunction · 0.70
BigDecimal.tsFile · 0.70
divideWithPrecisionFunction · 0.70
absFunction · 0.70
negateFunction · 0.70
fromBigIntFunction · 0.70
fromNumberFunction · 0.70
fromStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected