code: def formatDecimalMark(value, decimalmark='.'):
      
      # We have to consider the possibility of working with decimals such as
      # X.000 where those decimals are important because of the precission
      # and significant digits matters
      # Using 'float' the system delete the extre desimals with 0 as a value
      # Example: float(2.00) -> 2.0
      # So we have to save the decimal length, this is one reason we are usnig
      # strings for results
      rawval = str(value)
      try:
          return decimalmark.join(rawval.split('.'))
      except:
          return rawval
docs: Dummy method to replace decimal mark from an input string.
          Assumes that 'value' uses '.' as decimal mark and ',' as
          thousand mark.
          ::value:: is a string
          ::returns:: is a string with the decimal mark if needed