Skip to content

Commit

Permalink
Rename alternate DecodeDouble into DecodeDouble2
Browse files Browse the repository at this point in the history
  • Loading branch information
simulot committed Nov 9, 2020
1 parent f4f328b commit 16c9c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions converters/type_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,13 @@ func ProtectAddFigure(m *int64, d int64) bool {
return false
}

// DecodeDouble decode Oracle binary representation of numbers into float64
// DecodeDouble2 decode Oracle binary representation of numbers into float64
//
// Some documentation:
// https://gotodba.com/2015/03/24/how-are-numbers-saved-in-oracle/
// https://www.orafaq.com/wiki/Number

func DecodeDouble(inputData []byte) float64 {
func DecodeDouble2(inputData []byte) float64 {

if len(inputData) == 0 {
return math.NaN()
Expand Down

0 comments on commit 16c9c5c

Please sign in to comment.