<legend id='7SEAJ'><style id='7SEAJ'><dir id='7SEAJ'><q id='7SEAJ'></q></dir></style></legend>

  • <small id='7SEAJ'></small><noframes id='7SEAJ'>

      <bdo id='7SEAJ'></bdo><ul id='7SEAJ'></ul>
  • <i id='7SEAJ'><tr id='7SEAJ'><dt id='7SEAJ'><q id='7SEAJ'><span id='7SEAJ'><b id='7SEAJ'><form id='7SEAJ'><ins id='7SEAJ'></ins><ul id='7SEAJ'></ul><sub id='7SEAJ'></sub></form><legend id='7SEAJ'></legend><bdo id='7SEAJ'><pre id='7SEAJ'><center id='7SEAJ'></center></pre></bdo></b><th id='7SEAJ'></th></span></q></dt></tr></i><div id='7SEAJ'><tfoot id='7SEAJ'></tfoot><dl id='7SEAJ'><fieldset id='7SEAJ'></fieldset></dl></div>
  • <tfoot id='7SEAJ'></tfoot>
      1. 如何将两个整数相除以获得双精度?

        How can I divide two integers to get a double?(如何将两个整数相除以获得双精度?)

          <tbody id='u6RyS'></tbody>
      2. <tfoot id='u6RyS'></tfoot>
        <legend id='u6RyS'><style id='u6RyS'><dir id='u6RyS'><q id='u6RyS'></q></dir></style></legend>
        • <small id='u6RyS'></small><noframes id='u6RyS'>

              <bdo id='u6RyS'></bdo><ul id='u6RyS'></ul>

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

                • 本文介绍了如何将两个整数相除以获得双精度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何将两个整数相除以获得双精度数?

                  How do I divide two integers to get a double?

                  推荐答案

                  你想投数字:

                  double num3 = (double)num1/(double)num2;
                  

                  注意:如果 C# 中的任何参数是 double,则使用 double 除法会产生 double.因此,以下方法也可以:

                  Note: If any of the arguments in C# is a double, a double divide is used which results in a double. So, the following would work too:

                  double num3 = (double)num1/num2;
                  

                  更多信息见:

                  点网 Perls

                  这篇关于如何将两个整数相除以获得双精度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Performance overhead of using attributes in .NET(在 .NET 中使用属性的性能开销)
                  Accessing attribute info from DTE(从 DTE 访问属性信息)
                  c# Hide a property in datagridview with datasource(c#使用数据源隐藏datagridview中的属性)
                  Extract Display name and description Attribute from within a HTML helper(从 HTML 帮助器中提取显示名称和描述属性)
                  C# Attributes and their uses(C# 属性及其用途)
                  C# - Getting all enums value by attribute(C# - 按属性获取所有枚举值)

                    <tbody id='tyuPx'></tbody>

                    <bdo id='tyuPx'></bdo><ul id='tyuPx'></ul>

                      1. <small id='tyuPx'></small><noframes id='tyuPx'>

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