From cc595a2f2ae2ad6c8d81113b3db56f1ed8ee9a09 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 30 Mar 2016 15:31:57 +0000
Subject: [PATCH] SSDM-3418 : Precision set to 9.

SVN: 36045
---
 .../eln-lims/html/js/views/SampleForm/widgets/PlateView.js  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateView.js
index 9166c9b5047..fe2050591b1 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateView.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateView.js
@@ -293,6 +293,12 @@ function PlateView(plateController, plateModel) {
 								if(!dataByPosition[wellRow]) {
 									dataByPosition[wellRow] = [];
 								}
+								for(var vIdx = 0; vIdx < wellData.values.length; vIdx++) {
+									var value = wellData.values[vIdx];
+									if(value.toPrecision) {
+										wellData.values[vIdx] = value.toPrecision(9);
+									}
+								}
 								dataByPosition[wellRow][wellColumn] = wellData;
 							}
 							receivedData.featureVectors = dataByPosition;
-- 
GitLab