diff options
| author | xuri <xuri.me@gmail.com> | 2021-11-17 00:25:36 +0800 |
|---|---|---|
| committer | xuri <xuri.me@gmail.com> | 2021-11-17 00:25:36 +0800 |
| commit | bc3c7d51a2efe5f0ad85667a8f9636f13941d577 (patch) | |
| tree | d8df81412ae201e427c3e43c6aa8638f8e3c247b /styles.go | |
| parent | bda8e7f8129dae0064c47f8e051f76492e1128f5 (diff) | |
ref #65: new formula function PRICE
- fix COUPPCD result accuracy issue
- update close spreadsheet example in documentation and README
Diffstat (limited to 'styles.go')
| -rw-r--r-- | styles.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3137,7 +3137,7 @@ func ThemeColor(baseColor string, tint float64) string { if tint == 0 { return "FF" + baseColor } - r, _ := strconv.ParseUint(baseColor[0:2], 16, 64) + r, _ := strconv.ParseUint(baseColor[:2], 16, 64) g, _ := strconv.ParseUint(baseColor[2:4], 16, 64) b, _ := strconv.ParseUint(baseColor[4:6], 16, 64) var h, s, l float64 |
