Fix format of hash rate

This passes the hash rate back as a double, rather than converting it to
an int and then back to a double.