diff options
author | Vsevolod Balashov <vsevolod@balashov.name> | 2019-09-01 07:30:14 +0300 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-09-01 12:30:14 +0800 |
commit | 1fc4bc52fb8a0160eb624e7a24619d8c0e47e540 (patch) | |
tree | f8172ed5c1207204f4e606570a9176d15ff46346 /styles.go | |
parent | 333c5881c0b83ff596fc9a0d6d5378ff6319bbbb (diff) |
Fix #386 regression test added (#440)
* #386 regression test added
* closes #386 string to bigint on GOARCH=386
Diffstat (limited to 'styles.go')
-rw-r--r-- | styles.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -852,7 +852,7 @@ func formatToInt(i int, v string) string { if err != nil { return v } - return fmt.Sprintf("%d", int(f)) + return fmt.Sprintf("%d", int64(f)) } // formatToFloat provides a function to convert original string to float |