diff --git a/pages/index.js b/pages/index.js index 2b273e0..c3436cc 100644 --- a/pages/index.js +++ b/pages/index.js @@ -182,7 +182,7 @@ export default function Home() { width="100px" />
-

{weatherData.visibility / 1000}

+

{(weatherData.visibility / 1000).toPrecision(2)}

km