If I have a data file with columns of numbers like
3.14
0.42
6.66
Is there a way from within Vim to manipulate these with operations such as addition, subtraction, and division? For instance, say I want to add 2.1 to each number in a column, how should I go about this?
I can do it by piping to, for instance, an Awk script, but I would like to know if there is a builtin method, and I haven’t found anything in the help files.