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

strconv: fix format_dec example

This commit is contained in:
Delyan Angelov 2020-06-03 01:30:46 +03:00
parent 2596b0c612
commit 845084c89d
2 changed files with 1 additions and 2 deletions

View File

@ -202,7 +202,7 @@ pub fn f64_to_str_lnd(f f64, dec_digit int) string {
* Single format functions * Single format functions
* *
******************************************************************************/ ******************************************************************************/
struct BF_param { pub struct BF_param {
pad_ch byte = ` ` // padding char pad_ch byte = ` ` // padding char
len0 int = -1 // default len for whole the number or string len0 int = -1 // default len for whole the number or string
len1 int = 6 // number of decimal digits, if needed len1 int = 6 // number of decimal digits, if needed

View File

@ -1,4 +1,3 @@
import os
import strconv import strconv
fn test_format(){ fn test_format(){