[ZBX-15494] Not supported custom multiplier to some value of scientific notations Created: 2019 Jan 23 Updated: 2024 Apr 10 Resolved: 2019 Feb 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.3 |
Fix Version/s: | 3.0.26rc1, 4.0.5rc1, 4.2.0beta1, 4.2 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Dmitriev Evgeniy | Assignee: | Andrejs Sitals (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() |
Team: | |
Sprint: | Sprint 48, Jan 2019, Sprint 49 (Feb 2019) |
Story Points: | 0.125 |
Description |
Steps to reproduce:
|
Comments |
Comment by Andrejs Sitals (Inactive) [ 2019 Jan 29 ] |
zbx_variant_set_numeric() calls del_zeros() before passing value to is_uint64() and/or is_double() which ruins the value. Current implementation of del_zeros() functions removes trailing zeros and "." from the value, e.g., "10.0" becomes "10", "10.1000" becomes "10.1". When using scientific notation, this results in:
|
Comment by Andrejs Sitals (Inactive) [ 2019 Jan 29 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-15494 |
Comment by Andrejs Sitals (Inactive) [ 2019 Feb 14 ] |
Available in versions:
|