<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>

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

        Float or decimal for prices?(价格是浮点数还是小数点?)
        <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.

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

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  SQL query to group by day(按天分组的 SQL 查询)
                  What does SQL clause quot;GROUP BY 1quot; mean?(SQL 子句“GROUP BY 1是什么意思?意思是?)
                  MySQL groupwise MAX() returns unexpected results(MySQL groupwise MAX() 返回意外结果)
                  MySQL SELECT most frequent by group(MySQL SELECT 按组最频繁)
                  Include missing months in Group By query(在 Group By 查询中包含缺失的月份)
                  Why Mysql#39;s Group By and Oracle#39;s Group by behaviours are different(为什么 Mysql 的 Group By 和 Oracle 的 Group by 行为不同)

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

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

                        • <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>