billputer / go-namecheap

A Go library for using the Namecheap API
MIT License
49 stars 28 forks source link

Switched from float32 to float64 #10

Closed phpfs closed 6 years ago

phpfs commented 6 years ago

For me, float64 seems to be a better choice as it is also the standard go type for floats :)

billputer commented 6 years ago

We really shouldn't be using floats to represent currency. See this StackOverflow post.

That said, this is an improvement, so I'll take it.