A variable holds numbers with fractions if you declare it to be of type Double.

  • 如果将某个变量声明为Double类型,则该变量可保存带小数的数字。
目录 查词历史