October 03, 2008 converting hexidecimals into strings | ||||
---|---|---|---|---|
| ||||
Does anyone know of an efficient way to convert integers into strings that represent the integer as a hexadecimal? |
October 03, 2008 Re: converting hexidecimals into strings | ||||
---|---|---|---|---|
| ||||
Posted in reply to llee | On Fri, Oct 3, 2008 at 5:46 PM, llee <Larry@workingwondersus.com> wrote: > Does anyone know of an efficient way to convert integers into strings that represent the integer as a hexadecimal? > If you're using Phobos, std.string.toString(number, 16). If Tango, tango.text.convert.Integer.toString(number, "x"). |
Copyright © 1999-2021 by the D Language Foundation