completed decimal point function. time for debugging, comments.