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

  • <small id='Jdwjx'></small><noframes id='Jdwjx'>

      <bdo id='Jdwjx'></bdo><ul id='Jdwjx'></ul>
  • <legend id='Jdwjx'><style id='Jdwjx'><dir id='Jdwjx'><q id='Jdwjx'></q></dir></style></legend>

        Java中的Double到底是什么意思?

        What exactly does Double mean in java?(Java中的Double到底是什么意思?)
        <legend id='vpwME'><style id='vpwME'><dir id='vpwME'><q id='vpwME'></q></dir></style></legend>

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

              <tbody id='vpwME'></tbody>
              <tfoot id='vpwME'></tfoot>

                  本文介绍了Java中的Double到底是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我对 Java 非常陌生,只是想确认一下 Double 是什么?它类似于 Float 还是 Int?任何帮助,将不胜感激.我有时也会看到大写的Double,有时会看到小写的double.如果有人能澄清这意味着什么,那就太好了!

                  I'm extremely new to Java and just wanted to confirm what Double is? Is it similar to Float or Int? Any help would be appreciated. I also sometimes see the uppercase Double and other times the lower case double. If someone could clarify what this means that'd be great!

                  推荐答案

                  Double 是一个包装类,

                  Double 类包装了对象中的原始类型 double.一个Double 类型的对象包含一个类型为 double 的单个字段.

                  The Double class wraps a value of the primitive type double in an object. An object of type Double contains a single field whose type is double.

                  此外,该类提供几种转换a的方法double 到 String 和 String 到 a双倍,以及其他常数和处理a时有用的方法双倍.

                  In addition, this class provides several methods for converting a double to a String and a String to a double, as well as other constants and methods useful when dealing with a double.

                  双数据类型,

                  双精度数据类型是双精度 64 位 IEEE 754浮点.它的取值范围是4.94065645841246544e-324d 至 1.79769313486231570e+308d(正或负).对于十进制值,此数据类型为一般是默认选择.作为上面提到,这种数据类型应该永远不要用于精确值,例如作为货币.

                  The double data type is a double-precision 64-bit IEEE 754 floating point. Its range of values is 4.94065645841246544e-324d to 1.79769313486231570e+308d (positive or negative). For decimal values, this data type is generally the default choice. As mentioned above, this data type should never be used for precise values, such as currency.

                  检查每个数据类型及其范围:Java 的原始数据类型.

                  Check each datatype with their ranges : Java's Primitive Data Types.

                  重要提示:如果您考虑使用双精度值,您需要在使用前重新考虑.Java 陷阱:双

                  Important Note : If you'r thinking to use double for precise values, you need to re-think before using it. Java Traps: double

                  这篇关于Java中的Double到底是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Compiling C++ for the JVM(为 JVM 编译 C++)
                  Compile to java bytecode (without using Java)(编译成java字节码(不使用Java))
                  How to drive C#, C++ or Java compiler to compute 1+2+3+...+1000 at compile time?(如何在编译时驱动 C#、C++ 或 Java 编译器计算 1+2+3+...+1000?)
                  Java ClassLoader: load same class twice(Java ClassLoader:两次加载相同的类)
                  How to debug .class files in ECLIPSE?(如何在 ECLIPSE 中调试 .class 文件?)
                  Java quot;The blank final field may not have been initializedquot; Anonymous Interface vs Lambda Expression(Java“可能尚未初始化空白的最终字段匿名接口与 Lambda 表达式)
                  <tfoot id='OLc3k'></tfoot>
                • <small id='OLc3k'></small><noframes id='OLc3k'>

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

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