mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin,strconv: append ".0", to float string representations, to ensure clarity (#16079)
This commit is contained in:
@@ -425,7 +425,7 @@ fn test_abs_zero() {
|
||||
|
||||
ret2 := abs(0.0)
|
||||
println(ret2)
|
||||
assert '$ret2' == '0'
|
||||
assert '$ret2' == '0.0'
|
||||
}
|
||||
|
||||
fn test_floor() {
|
||||
|
||||
Reference in New Issue
Block a user