Is the calculation of dbedit the same as edit?
dbedit3.Text: = floattostr (strtofloat (dbedit1.Text) * strtofloat (dbedit2.Text));
The error is `` 丨 is not a valid floating point value
That's also simple. Before you execute this paragraph, you first judge whether 1 and 2 are null values. If there is one, the value of 3 is 0. If you don't, then it's calculated.