Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Access to the database, the number field, why the decimal entered became 0.00, delphi language. As shown in the figure:
Access to the database, the number field, why the decimal entered became 0.00, delphi language. As shown in the figure:
Wrong number type. You set it as an integer and display it in a standard format, so when you enter a decimal, it will be automatically corrected to an integer, that is, 0 ... round it. You enter a number greater than 0.5 to see if it becomes 1 ...

Redefine the number type. ...