Mon, 06 Jan 2020 11:35:26 +0100
Display alcohol tolerance with 1 decimal
www/js/inv_yeasts.js | file | annotate | diff | comparison | revisions |
--- a/www/js/inv_yeasts.js Sun Jan 05 20:34:03 2020 +0100 +++ b/www/js/inv_yeasts.js Mon Jan 06 11:35:26 2020 +0100 @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (C) 2014-2019 + * Copyright (C) 2014-2020 * * Michiel Broek <mbroek at mbse dot eu> * @@ -300,7 +300,7 @@ cellsrenderer: function(index, datafield, value, defaultvalue, column, rowdata) { var amount = ''; if (value > 0) - amount = dataAdapter.formatNumber(value, 'p0'); + amount = dataAdapter.formatNumber(value, 'p1'); return '<span style="margin: 4px; margin-top: 6px; float: right;">' + amount + '</span>'; } },