<bdo id='iXh3S'></bdo><ul id='iXh3S'></ul>
  • <i id='iXh3S'><tr id='iXh3S'><dt id='iXh3S'><q id='iXh3S'><span id='iXh3S'><b id='iXh3S'><form id='iXh3S'><ins id='iXh3S'></ins><ul id='iXh3S'></ul><sub id='iXh3S'></sub></form><legend id='iXh3S'></legend><bdo id='iXh3S'><pre id='iXh3S'><center id='iXh3S'></center></pre></bdo></b><th id='iXh3S'></th></span></q></dt></tr></i><div id='iXh3S'><tfoot id='iXh3S'></tfoot><dl id='iXh3S'><fieldset id='iXh3S'></fieldset></dl></div>

      <small id='iXh3S'></small><noframes id='iXh3S'>

      <tfoot id='iXh3S'></tfoot>

        <legend id='iXh3S'><style id='iXh3S'><dir id='iXh3S'><q id='iXh3S'></q></dir></style></legend>

        价格是浮点数还是小数点?

        时间:2024-04-16
        <legend id='7oW0h'><style id='7oW0h'><dir id='7oW0h'><q id='7oW0h'></q></dir></style></legend>

            <tbody id='7oW0h'></tbody>
                <tfoot id='7oW0h'></tfoot>

                <small id='7oW0h'></small><noframes id='7oW0h'>

                • <bdo id='7oW0h'></bdo><ul id='7oW0h'></ul>
                  <i id='7oW0h'><tr id='7oW0h'><dt id='7oW0h'><q id='7oW0h'><span id='7oW0h'><b id='7oW0h'><form id='7oW0h'><ins id='7oW0h'></ins><ul id='7oW0h'></ul><sub id='7oW0h'></sub></form><legend id='7oW0h'></legend><bdo id='7oW0h'><pre id='7oW0h'><center id='7oW0h'></center></pre></bdo></b><th id='7oW0h'></th></span></q></dt></tr></i><div id='7oW0h'><tfoot id='7oW0h'></tfoot><dl id='7oW0h'><fieldset id='7oW0h'></fieldset></dl></div>
                • 本文介绍了价格是浮点数还是小数点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  哪种类型(浮点型或十进制)最适合在 mysql 数据库中存储价格?

                  Which type (Float or decimal) is best used to store prices in a mysql database?

                  推荐答案

                  浮点数不精确,会引入累积舍入误差.十进制是财务信息必须准确的最佳格式.

                  Floats are not exact and can introduce cumulative rounding errors. Decimal is the best format for financial information that must be exact.

                  这篇关于价格是浮点数还是小数点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:存储用户并传入单表或单表 下一篇:理解mysql解释

                  相关文章

                    • <bdo id='3QBmN'></bdo><ul id='3QBmN'></ul>
                  1. <legend id='3QBmN'><style id='3QBmN'><dir id='3QBmN'><q id='3QBmN'></q></dir></style></legend>

                      <small id='3QBmN'></small><noframes id='3QBmN'>

                    1. <i id='3QBmN'><tr id='3QBmN'><dt id='3QBmN'><q id='3QBmN'><span id='3QBmN'><b id='3QBmN'><form id='3QBmN'><ins id='3QBmN'></ins><ul id='3QBmN'></ul><sub id='3QBmN'></sub></form><legend id='3QBmN'></legend><bdo id='3QBmN'><pre id='3QBmN'><center id='3QBmN'></center></pre></bdo></b><th id='3QBmN'></th></span></q></dt></tr></i><div id='3QBmN'><tfoot id='3QBmN'></tfoot><dl id='3QBmN'><fieldset id='3QBmN'></fieldset></dl></div>
                      <tfoot id='3QBmN'></tfoot>