Fixed bug where displayed value was being rounded differently depending on whether it was an input or an output, closes #31.