diff --git a/frontend/src/metabase/visualizations/visualizations/Scalar.jsx b/frontend/src/metabase/visualizations/visualizations/Scalar.jsx
index fe6184e589f1b43dba6fa53187a6e1581d33e098..100a8075f6ddf8c36377b747ea617f83893eabbd 100644
--- a/frontend/src/metabase/visualizations/visualizations/Scalar.jsx
+++ b/frontend/src/metabase/visualizations/visualizations/Scalar.jsx
@@ -26,7 +26,10 @@ function scalarSettingsToFormatOptions(settings) {
     maximumFractionDigits: parseFloat(settings["scalar.decimals"]),
   };
   // remove null options to allow for defaults
-  return _.pick(formatOptions, v => v != null && v !== "" && !isNaN(v));
+  return _.pick(
+    formatOptions,
+    v => v != null && v !== "" && (typeof v !== "number" || !isNaN(v)),
+  );
 }
 
 export default class Scalar extends Component {