When I compare two equal numbers in a Scripted Field I get a Boolean = false. Hows is this possible?
My Numbers (first one: result of substraction , second a static number) are actually the same.
Both are type double. I rounded them and compared them (11.94 == 11.94) , but Kibana gives me false
def a = doc['q60tu01.D329-GESAMT-DATEN.D329-VERTRAG-DATEN.D329-VTG-ZAHL-BEITR'].value; >> is 12.0
def b = doc['q60tu01.D329-GESAMT-DATEN.D329-VERTRAG-DATEN.D329-VTG-RABATT-BEITR'].value; >> is 0.06
def c = doc['Q17TA21.beitragRatierlich'].value; >> is 11.94
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.