We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7a3056 commit 44f9e54Copy full SHA for 44f9e54
scripts/bk_functions.sh
@@ -125,12 +125,8 @@ bk_emit_result() {
125
;;
126
esac
127
128
- # Normalize scientific notation (e.g. 3.64E+01 -> 36.400) to plain decimal
129
- case "$_bk_fom" in
130
- *[eE]*)
131
- _bk_fom=$(awk "BEGIN {printf \"%.6g\", $_bk_fom}")
132
- ;;
133
- esac
+ # Normalize FOM to 3 decimal places (also handles scientific notation)
+ _bk_fom=$(awk "BEGIN {printf \"%.3f\", $_bk_fom}")
134
135
# Build output line
136
_bk_output="FOM:${_bk_fom}"
0 commit comments