[ZBX-12935] Incorrect displaying(rounding) of Numeric(Float) values under the "Latest data" tab Created: 2017 Oct 24  Updated: 2018 Apr 11  Resolved: 2018 Apr 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.2.8, 3.2.9
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Aleksejs Petrovs Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16.04 LTS + Apache/2.4.18 + MySQL 5.7.19-0


Attachments: PNG File Selection_046.png     PNG File Selection_047.png    
Issue Links:
Sub-task
part of ZBX-4837 Hitting Float limits with big numbers Closed
part of ZBX-13539 Wrong values after Zabbix upgrade (3.... Closed
Sprint: Sprint 30

 Description   

The item configuration is simple Zabbix Trapper with Numeric(Float) data type.

Steps to reproduce:
1. Create the Zabbix Trapper item with Data type: Numeric(Float)
2. Send the value using zabbix_sender containing at least 11 digits before dot and at least 1 after
3. See the result in latest data and compare it with the value you've sent(or list 500 latest values in Frontend)

Result:
The values in frontend are being modified from 123456789012.2 to 123456789012.199997

Expected:
The values should be displayed the same way as they was sent.



 Comments   
Comment by Glebs Ivanovskis (Inactive) [ 2017 Oct 25 ]

Some stuff worth reading on this very subject.

Comment by Alexander Vladishev [ 2018 Apr 11 ]

Will be fixed together with ZBX-13539.

Generated at Fri Mar 29 06:57:21 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.