summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
authorlichaofei <lichaofei@users.noreply.github.com>2017-09-05 18:26:47 +0800
committerGitHub <noreply@github.com>2017-09-05 18:26:47 +0800
commit787495c503df509a60c4051eeb297653188bec0a (patch)
tree34675d2b9a41103218a2ca402c057b373c2fd00c /lib.go
parent1169042f7db5eb9c85fcce83b9d913e42a6d3a34 (diff)
Update lib.go
Diffstat (limited to 'lib.go')
-rw-r--r--lib.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib.go b/lib.go
index 0f1de23..ab83e50 100644
--- a/lib.go
+++ b/lib.go
@@ -70,10 +70,11 @@ func ToAlphaString(value int) string {
}
// TitleToNumber provides function to convert Excel sheet column title to int
-// (this function doesn't do value check currently). For example convert AK to
+// (this function doesn't do value check currently). For example convert AK(ak、Ak) to
// column title 36:
//
// excelize.TitleToNumber("AK")
+// excelize.TitleToNumber("ak")
//
func TitleToNumber(s string) int {
weight := 0.0