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:
parent
dff61300fb
commit
7df8f063ed
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user