On 12/04/08 20:29, Mikolaj Machowski wrote: > Dnia Saturday 12 of April 2008, Bram Moolenaar napisaĆ: >> Here is an update for the floating point patch. The 'g' argument for >> printf() was implemented and a few bug fixes. >> >> This is to be applied to the original source code, without the older >> floating point patch. >> > One thing: > let a =&1.2
echo a 1.200000 (a Float IIUC) > let b = string(b) let b = string(a) echo b 1.200000 (a String IIUC) > let c = eval(b) echo c 1200000 (a String = '1' . '200000') These are expected. > > There is workaround with str2float but should be mentioned with > string() and/or eval() help. Also to eval() help could be added that it > works also with Lists and Dictionaries. > > m. Best regards, Tony. -- If ignorance is bliss, why aren't there more happy people? --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---