Re: [go-nuts] Re: Having difficulty converting []byte to float

2018-05-18 Thread Michael Jones
yes, the example there is perfect: https://play.golang.org/p/QvPm90SUgiX On Fri, May 18, 2018 at 7:44 PM Tashi Lu wrote: > There is a function for this in the math lib Float64Frombits, a similar > question: > https://stackoverflow.com/questions/22491876/convert-byte-array-uint8-to-float64-in-gol

[go-nuts] Re: Having difficulty converting []byte to float

2018-05-18 Thread Tashi Lu
There is a function for this in the math lib Float64Frombits, a similar question: https://stackoverflow.com/questions/22491876/convert-byte-array-uint8-to-float64-in-golang On Friday, 18 May 2018 10:31:11 UTC+8, John Fox wrote: > > Hello all. I am creating a custom exporter for FreeNAS > https