Wednesday, December 22, 2010

substitute a floating point number with it's double (or multiple)

Hi,

I have a file which has lines like this.

area : 37.24;
power : 1.28, 2.73, 3.84;

I need to substitute each number with it's double (number*2).
Is there anyway I can do this in VIM?
I don't have perldo command in my version of VIM.

Thanks,
Uday

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: