diff --git a/src/zscript/vmdisasm.cpp b/src/zscript/vmdisasm.cpp index fed5eb39a2..81eb50bbac 100644 --- a/src/zscript/vmdisasm.cpp +++ b/src/zscript/vmdisasm.cpp @@ -370,7 +370,7 @@ static int print_reg(FILE *out, int col, int arg, int mode, int immshift, const case MODE_KF: if (func != NULL) { - return col+printf_wrapper(out, "%f", func->KonstF[arg]); + return col+printf_wrapper(out, "%g", func->KonstF[arg]); } return col+printf_wrapper(out, "kf%d", arg); case MODE_KS: