Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Currency Style by flpo
from re import sub
def convert(match):
return sub(',(\d{2})$', '.\g<1>', sub('\.(\d{3})', ',\g<1>', match.group(0)))
def checkio(string):
return sub('\$[^ ]*\d', convert, string)
July 11, 2017