linearly v0.32.0Docs


linearly v0.32.0 / scalar / quantize

Function: quantize()

quantize(v, step, offset): number

Parameters

v: number

step: number

offset: number = 0

Returns

number

Defined in

src/scalar.ts:100open in new window