search

Home  >  Q&A  >  body text

java反射后BigDecimal精度丢失问题

把bean转成map,发现BigDecimal类型的字段精度会丢失,该如何处理,如何能避免这种情况?

伊谢尔伦伊谢尔伦2816 days ago871

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-18 10:26:37

    I just changed the calling method. It shouldn’t be caused by reflection, so I’d better post the code

    reply
    0
  • Cancelreply