Skip to content

Commit

Permalink
Merge pull request #2 from capnspacehook/master
Browse files Browse the repository at this point in the history
Allow for parsing larger intergers in Period strings
  • Loading branch information
rickb777 committed Apr 25, 2019
2 parents bd8f90e + 6062b86 commit a337401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion period/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,6 @@ func parseDecimalFixedPoint(s, original string) (int16, error) {
s = s + "0"
}

n, e := strconv.ParseInt(s, 10, 16)
n, e := strconv.ParseInt(s, 10, 32)
return int16(n), e
}

0 comments on commit a337401

Please sign in to comment.