Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
twitch
live-coding-fr
Commits
fca72cd4
Commit
fca72cd4
authored
May 13, 2021
by
Colin DAMON
Browse files
Comment BigDecimal solution
parent
ec082885
Changes
1
Hide whitespace changes
Inline
Side-by-side
java-puzzles/src/test/java/fr/ippon/PlayingWithBigDecimal.java
View file @
fca72cd4
...
...
@@ -14,6 +14,6 @@ public class PlayingWithBigDecimal {
// assertThat(a.subtract(b).toString()).isEqualTo("1");
// assertThat(a.subtract(b).toString()).isEqualTo("1.01");
assertThat
(
a
.
subtract
(
b
).
toString
()).
isEqualTo
(
"1.0100000000000000088817841970012523233890533447265625"
);
//
assertThat(a.subtract(b).toString()).isEqualTo("1.0100000000000000088817841970012523233890533447265625");
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment