update main

added a todecimal function