Commits

Christoph Schindler committed ae152d1

Number converter, first version.

Comments (0)

Files changed (1)

+def f(n,s='.',d=','):
+ a,b=str(n)[::-1].split('.')
+ a,i=a+d,1
+ for c in b:a,i=a+c+s[i%3:],i+1
+ return a[::-1]