Hi
I have problem when trying to display a value as float. kindly note that I can displayed properly in Discover but not the case for any type of visualisation
for more details please refer to the below snapshots
from Discover
from Visualisation
even the calculation in wrong when using json. always using the value as integer
Example : Value1 = 3.85 value2 = 2.56
Json value1 + Value2 =5 Should be 6.41
below is the json script
'''
{
"script"
"inline": "doc['value1'].value + doc['value2'].value",
"lang": "painless"
}
'''
I need the value to be displayed as floating and calculated as Floating
Thanks