Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 61773d3

Browse files
fix typo 冗余的"使用"
1 parent 69bdec3 commit 61773d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/java/basis/Java基础知识疑难点.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ System.out.println(a);// 0.100000024
9898
System.out.println(b);// 0.099999964
9999
System.out.println(a == b);// false
100100
```
101-
具有基本数学知识的我们很清楚的知道输出并不是我们想要的结果(**精度丢失**),我们如何解决这个问题呢?一种很常用的方法是:**使用使用 BigDecimal 来定义浮点数的值,再进行浮点数的运算操作。**
101+
具有基本数学知识的我们很清楚的知道输出并不是我们想要的结果(**精度丢失**),我们如何解决这个问题呢?一种很常用的方法是:**使用 BigDecimal 来定义浮点数的值,再进行浮点数的运算操作。**
102102

103103
```java
104104
BigDecimal a = new BigDecimal("1.0");

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /