dwaynePankey
dwaynePankey
The issue appears to be in the function: def execute(self, query_string, params=None, many_mode=False, call_mode=False): These lines don't account for a decimal having leading zeros: if dec_num > 0: # has...
This should resolve the issue: if dec_num > 0: # has decimal if digit_num >= dec_num: left_part = digit_string[:digit_num - dec_num] right_part = digit_string[0-dec_num:] else: #pad the right with zeros...