You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Mandar Ambawane (Jira)" <ji...@apache.org> on 2021/06/16 12:15:00 UTC

[jira] [Commented] (ATLAS-4203) [Business Metadata] Issue with saving floating point numbers in case of attributes of 'float' type

    [ https://issues.apache.org/jira/browse/ATLAS-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364271#comment-17364271 ] 

Mandar Ambawane commented on ATLAS-4203:
----------------------------------------

Hi [~umesh.padashetty] 

This behavior is not specific to Business Metadata attributes. This can be seen in all over the application where Floating point Data type is used.

As Floating point numbers  have a limited number of digits, they cannot represent all real numbers accurately. When there are more digits than the format allows,  the number is rounded.

> [Business Metadata] Issue with saving floating point numbers in case of attributes of 'float' type 
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4203
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4203
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Umesh Padashetty
>            Priority: Major
>         Attachments: After save.png, Before save.png
>
>
> A value entered as -234567890123456.12 gets saved as -234567894000000
> A value entered as 234567890123456.12 gets saved as 234567894000000
> Screenshots attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)