Reply to message «Re: rounding numbers», 
sent 20:05:39 13 January 2011, Thursday
by rameo:

You forgot
> and add new substitute call that will remove them.
(them=dots)

Original message:
> still have a lot of troubles with "."and ","
> 
> My new command to include numbers with dots is:
> 
> %s/\d\+\.*\d*,\d\+/\=printf("%.1f", str2float(substitute(submatch(0),
> ',', '.', '')))/g
> 
> but it still does
> convert 15.000,56 to 15 and not 15.001

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to