Comment on this moment, but I can not understand. My iron logic succumbs to bit byte. There is a number "A" and "B". "A" - decimal, that is, two digits after the decimal point. "B" is a whole. I subtract "B" from "A" - it turns out to be decimal, but the digits after the comma are twelve! Where, if in the database nowhere even one thousandths appear? What is this, some kind of glitch? Any suggestions? The result is of the type: 784.550000000001 ...

    1 answer 1

    This is not a glitch, this is IEEE 754. See the article "Floating-point numbers and their features" ( ).

    • The link does not work, sorry .... - Asid
    • @Asid, some kind of glitch, corrected to work. - dionys