@staticmethod<EOL><INDENT>def clean(amount):<DEDENT>
<EOL>if not amount:<EOL><INDENT>return amount<EOL><DEDENT>if re.search(r'<STR_LIT>', amount):<EOL><INDENT>return amount.replace('<STR_LIT:.>', '<STR_LIT>').replace('<STR_LIT:U+0020>', '<STR_LIT>').replace('<STR_LIT:U+002C>', '<STR_LIT:.>')<EOL><DEDENT>if re.search(r'<STR_LIT>', amount):<EOL><INDENT>return amount.replace('<STR_LIT:U+002C>', '<STR_LIT>').replace('<STR_LIT:U+0020>', '<STR_LIT>')<EOL><DEDENT>if re.search(r'<STR_LIT>', amount):<EOL><INDENT>return amount.replace('<STR_LIT:U+002C>', '<STR_LIT:.>')<EOL><DEDENT>return amount<EOL>
Converts a number to a number with decimal point.

:param str amount: The input number.

:rtype: str