# HG changeset patch # User Michiel Broek # Date 1578306926 -3600 # Node ID 5d152961762bc4d5c5c30c57dd250d1e6321f4e6 # Parent 93848540442ce878b2dc6949d8c538aee53f6c37 Display alcohol tolerance with 1 decimal diff -r 93848540442c -r 5d152961762b www/js/inv_yeasts.js --- 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 * @@ -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 '' + amount + ''; } },