min = -98.68f
max = 85784.45f
rangeBar.setDataType(CrystalRangeSeekbar.DataType.DOUBLE)
.setSteps(0.01f)
.setMinValue(min)
.setMinStartValue(min)
.setMaxValue(max)
.setMaxStartValue(max)
.apply()
rangeBar.setOnRangeSeekbarChangeListener(onChangeBarListener)
and i've got maxValue in listener = 85784.46
wtf? i looked into the code and found many math... which produce the value 85784.45777767307
it's very strange behavior
min = -98.68f max = 85784.45f rangeBar.setDataType(CrystalRangeSeekbar.DataType.DOUBLE) .setSteps(0.01f) .setMinValue(min) .setMinStartValue(min) .setMaxValue(max) .setMaxStartValue(max) .apply() rangeBar.setOnRangeSeekbarChangeListener(onChangeBarListener)
and i've got maxValue in listener = 85784.46 wtf? i looked into the code and found many math... which produce the value 85784.45777767307 it's very strange behavior