Make sure timestamp is formatted as a float