improve decode decimal