Finished decimal function