From 1f99d1e025667526af6c0c15358525e2154fb0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adelar=20da=20Silva=20Queir=C3=B3z?= Date: Sat, 23 Jan 2021 19:00:31 -0300 Subject: [PATCH] strconv: some corrections of typos (#8302) --- vlib/strconv/utilities.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/strconv/utilities.v b/vlib/strconv/utilities.v index 1e9b718617..048635afdb 100644 --- a/vlib/strconv/utilities.v +++ b/vlib/strconv/utilities.v @@ -227,12 +227,12 @@ f64 to string with string format */ -// f32_to_str_l return a string with the f32 converted in a strign in decimal notation +// f32_to_str_l return a string with the f32 converted in a string in decimal notation pub fn f32_to_str_l(f f64) string { return f64_to_str_l(f32(f)) } -// f64_to_str_l return a string with the f64 converted in a strign in decimal notation +// f64_to_str_l return a string with the f64 converted in a string in decimal notation pub fn f64_to_str_l(f f64) string { s := f64_to_str(f,18) @@ -250,7 +250,7 @@ pub fn f64_to_str_l(f f64) string { mut exp := 0 mut exp_sgn := 1 - // get sign and deciaml parts + // get sign and decimal parts for c in s { if c == `-` { sgn = -1