Skip to:
The following BIFs still had explicit DoubleCaster use in them, which meant they could give unexpected results if used with BigDecimal values.
arrayAvg()
arrayMax()
arrayMedian()
arrayMin()
arraySum()
parseNumber()
toNumeric()
isValid()
decimalFormat()
numberFormat()
listAvg()
The following areas of BoxLang that aren’t necessarily a BIF also had this issue
Boolean casting a number value
The expression Interpreter when passed a number value
array numeric index logic
query numeric index logic
struct sort comparators when performing numeric key sorts
XML numeric index logic
Any BIF or Component using Validator.Max
Any BIF or Component using Validator.Min
Any BIF or Component using Validator.GreaterThanZero
The following BIFs still had explicit DoubleCaster use in them, which meant they could give unexpected results if used with BigDecimal values.
arrayAvg()
arrayMax()
arrayMedian()
arrayMin()
arraySum()
parseNumber()
toNumeric()
isValid()
decimalFormat()
numberFormat()
listAvg()
The following areas of BoxLang that aren’t necessarily a BIF also had this issue
Boolean casting a number value
The expression Interpreter when passed a number value
array numeric index logic
query numeric index logic
struct sort comparators when performing numeric key sorts
XML numeric index logic
Any BIF or Component using Validator.Max
Any BIF or Component using Validator.Min
Any BIF or Component using Validator.GreaterThanZero