Closed Yancey1989 closed 3 years ago
Merging #357 into develop will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## develop #357 +/- ##
========================================
Coverage 87.46% 87.46%
========================================
Files 33 33
Lines 1468 1468
========================================
Hits 1284 1284
Misses 121 121
Partials 63 63
An int variable multiple a float value would be an INT, an int value multiple a float value would be FLOAT in Go. https://play.golang.org/p/f39Vw-9p23E
The reason is that Go literals are untyped, see https://stackoverflow.com/questions/47213283/why-is-there-a-difference-between-floating-point-multiplication-with-literals-vs
An int variable multiple a float value would be an INT, an int value multiple a float value would be FLOAT in Go. https://play.golang.org/p/f39Vw-9p23E![image](https://user-images.githubusercontent.com/1426912/94518015-ac3eac00-025b-11eb-9def-ccf764e952d1.png)