fixed #26
bug fix
added test case
fixed padding and sign position when padding character is 0
fixed #7
hotfixes