On 16/02/09 15:26, Maxim Kim wrote:
> Hi
> I have just discovered that I can't<C-R>=100*0.3 .
> Is it supposed to be that way?

Works for me (in Insert mode, and pastes 30.0). Maybe you tried to 
insert that Float result in Command-line mode into an expression or 
command where only a String was acceptable? There is automatic 
conversion between Number and String, or from Number to Float, but not 
between Float and String. Use str2float() for String to Float, and 
printf() (with an appropriate floating-point format) for Float to 
String. (Similarly, foor() and round() convert from Float to Number.)

I'm using gvim 7.2.108 Huge version with +float compiled-in.

Best regards,
Tony.
-- 
Dentist, n.:
        A Prestidigitator who, putting metal in one's mouth, pulls
coins out of one's pockets.
                -- Ambrose Bierce, "The Devil's Dictionary"

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to