Maxim Kim wrote:
> Hi
> I have just discovered that I can't <C-R>=100*0.3 .
> Is it supposed to be that way?
Strange, on my Vim, if I'm in insert mode, then
<C-R>=100*0.3
outputs the text
30.0
into the current file and
<C-R>=100/3.0
outputs
33.333333
into the current file.
does
:echo has('float')
return 1 for you? Maybe your version of Vim does not support float.
Regards
--
[ Albie Janse van Rensburg ~ http://morph.telspace.co.za ]
A foolish consistency is the hobgoblin of little minds.
-- Ralph Waldo Emerson
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---