Home > database >  BigDecimal data in the input.
BigDecimal data in the input.

Time:10-09

I in front of the library is 0.345 this data, why after inventory is 0.300 such record data? Is the figure of collection_v... Field that the data types are numeric (18, 6)

In JAVA code set method is BigDecimal

CodePudding user response:

Is written before they became 0.3, debug the code

CodePudding user response:

Have a look at the Format Format and edit Format

CodePudding user response:

refer to the original poster qq_34239851 response:
I in data storage is 0.345 before, why after inventory is 0.300 such record data? Is the figure of collection_v... Field that the data types are numeric (18, 6)

In JAVA code set method is BigDecimal

Interface, use the pb12 above?

CodePudding user response:

This column is the format of written #. # 00000
  • Related