On 8 апр, 13:11, Teemu Likonen <tliko...@iki.fi> wrote:
> On 2009-04-08 01:48 (-0700), Maxim Kim wrote:
>
> > Can I convert decimal number to a hexadecimal in vimscript?
>
> Yes, for example:
>
>     printf('%x', 1234)
>     printf('%X', 1234)
>     printf('%04x', 1234)

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

Reply via email to