A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.56k
stars
9.01k
forks
source link
Lack of precision using float in CandleEntry() #4578
Summary
CandleEntry is used to represent financial data, however, the constructor expects float's. Everyone working with financial data knows that a "float" lacks precision.
Expected Behavior
Use of a Double would be better. BigDecimal would be best.
Possible Solution
change float to double, i.e.
Device (please complete the following information):
not relevant
Summary CandleEntry is used to represent financial data, however, the constructor expects float's. Everyone working with financial data knows that a "float" lacks precision.
Expected Behavior Use of a Double would be better. BigDecimal would be best.
Possible Solution change float to double, i.e.
Device (please complete the following information): not relevant
Additional Context N/A