gt-engine icon indicating copy to clipboard operation
gt-engine copied to clipboard

support for BigDecimal/BigInteger and Float/Double in #{if} expressions

Open cbxp opened this issue 8 years ago • 0 comments

BigInteger and BigDecimal are not converted because it is slow, but conversion of all other Numbers to double is a single CPU instruction

Otherwise numbers like 0.5 using intValue() == 0 and will evaluate to false

cbxp avatar Jan 04 '17 13:01 cbxp