Not sure if it's exactly what you want but my first question would be if  
you've tried the printf() function, with a format specifier similar to C.

Eg
let hexString = printf("0x%X", decNumber)

Cheers,
John

On Wed, 08 Apr 2009 10:48:14 +0200, Maxim Kim <[email protected]> wrote:

>
> Hi,
>
> Can I convert decimal number to a hexadecimal in vimscript?
> >



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

Reply via email to