On 6/4/06, stri ker <[EMAIL PROTECTED]> wrote:
I frequently need to do some basic calculations. I have used the
following within Vim for Integer calculations:
:echo (4+7)*3-14
19
My question is this:
Is there a way to do calculations with doubles instead of integers
without piping to an external program like bc and then inserting into
a buffer?
:r!echo '491.41 - 29.74' | bc
I understand that you want to see the result, not
insert it into the buffer. How about this:
:!echo '491.41 - 29.74' | bc
Yakov