MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Lack of precision using float in CandleEntry()

Open abiemann opened this issue 5 years ago • 2 comments

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

abiemann avatar Jun 19 '19 13:06 abiemann

Same issue with me any luck?

hackstarsj avatar Jul 04 '19 15:07 hackstarsj

Any alternative? Facing the same issue

ArcherEmiya05 avatar Apr 23 '24 19:04 ArcherEmiya05