RootCauseunvalidated
Math.trunc() alone doesn't fix it — the Bolt protocol still encodes the value as Float64 — The neo4j-driver library provides an int() function that creates a proper Integer instance. Tension: the driver serializes correctly. Outcome: JavaScript numbers are always IEEE 754 doubles (Float64).
28a8face-649a-454a-854c-b944329b2d89
Math.trunc() alone doesn't fix it — the Bolt protocol still encodes the value as Float64 — The neo4j-driver library provides an int() function that creates a proper Integer instance. Tension: the driver serializes correctly. Outcome: JavaScript numbers are always IEEE 754 doubles (Float64).