writeDigits will now round on 2 decimal.
Code cleanup