code: def decimal_str_to_int(decimal_string):
      
      int_string = decimal_string.replace('.', '')
      int_string = int_string.lstrip('0')
      return int(int_string)
docs: Helper to decimal currency string into integers (cents).
      WARNING: DO NOT TRY TO DO THIS BY CONVERSION AND MULTIPLICATION,
      FLOATING POINT ERRORS ARE NO FUN IN FINANCIAL SYSTEMS.
      @param string The amount in currency with full stop decimal separator
      @return integer The amount in cents