From acd9531bb809277a1615567779118de3f9a3aaa0 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 19 Jun 2022 19:13:19 +0300 Subject: [PATCH] feat(charts): add quantization types --- modules/ui/general.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ui/general.js b/modules/ui/general.js index 4305f016..997b321f 100644 --- a/modules/ui/general.js +++ b/modules/ui/general.js @@ -335,6 +335,10 @@ function getPrecipitation(prec) { return prec * 100 + " mm"; } +function getPrecipitation(prec) { + return prec * 100 + " mm"; +} + // get user-friendly (real-world) precipitation value from map data function getFriendlyPrecipitation(i) { const prec = grid.cells.prec[pack.cells.g[i]];