1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: fix typo

This commit is contained in:
Delyan Angelov 2022-11-29 13:35:42 +02:00
parent dff61300fb
commit 7df8f063ed
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -113,7 +113,7 @@ pub fn (x f32) strg() string {
}
}
// strsci returns the `f32` as a `string` in scientific notation with `digit_num` deciamals displayed, max 8 digits.
// strsci returns the `f32` as a `string` in scientific notation with `digit_num` decimals displayed, max 8 digits.
// Example: assert f32(1.234).strsci(3) == '1.234e+00'
[inline]
pub fn (x f32) strsci(digit_num int) string {