From fd360b158caff3304a246c477c2ab53c358752e1 Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> Date: Sun, 27 Oct 2024 09:58:12 +0100 Subject: [PATCH] Revert to push decimal --- src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.rs b/src/functions.rs index 55b6678..dc0e810 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -358,7 +358,7 @@ impl PostScriptOp { fn write(&self, buf: &mut Vec) { match self { - Self::Real(r) => buf.push_float(*r), + Self::Real(r) => buf.push_decimal(*r), Self::Integer(i) => buf.push_val(*i), Self::If(ops) => { Self::write_slice(&ops, buf);