Round floating point numbers to 5 decimals.

This commit is contained in:
Ramon Novoa 2016-10-18 10:15:23 +02:00
parent e7d4c15a7c
commit 5af34c3a3d
1 changed files with 1 additions and 1 deletions

View File

@ -3586,7 +3586,7 @@ sub process_data ($$$$$$$) {
# TODO: Float precission should be adjusted here in the future with a global
# config parameter
# Format data
$data = sprintf("%.2f", $data);
$data = sprintf("%.5f", $data);
$data_object->{'data'} = $data;
return $data;