pub fn compact_decimal(value: f64, precision: usize) -> String
Fixed precision without trailing fractional zeros. Preserves signed zero; callers that use the result as an identifier may choose to normalize it.