set number to string precision for writing actor happiness