just reading this, surprised no mention of this...

d,_:=time.ParseDuration("5.671ms")
Hz:=int(time.Second/d)

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/7b6cc330-0a93-41b2-903d-8857c3283763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to