API Reference › Value › Value.fixed
method

Value.fixed

Value.fixed(f: fixed) -> value

Builds a fixed node (kind 2) carrying the raw Q16.16 value f. Json.encode writes it as an exact decimal (e.g. 0.5) that Json.parse reads back bit-for-bit.

← All symbols