Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
June 01, 2005 Integer to string conversions | ||||
---|---|---|---|---|
| ||||
One question... why is it there's no way to use the [unsigned_]integer_to_string functions with a custom radix? I needed to convert process ids to hex strings, and the obvious candidate would've been in the integer_to_string family, but I can't get hex :-( Pablo |
June 01, 2005 Re: Integer to string conversions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pablo Aguilar | Just never done yet. The basic mechanism is there - just expand (+ and -) the character table - and it's always been the intention to expand it thusly. If you want to have a go, feel free. :-) "Pablo Aguilar" <paguilarg@hotmail.com> wrote in message news:d7l0bl$2ajk$1@digitaldaemon.com... > One question... why is it there's no way to use the [unsigned_]integer_to_string functions with a custom radix? > > I needed to convert process ids to hex strings, and the obvious candidate would've been in the integer_to_string family, but I can't get hex :-( > > > Pablo > |
June 01, 2005 Re: Integer to string conversions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | "Matthew" <admin.hat@stlsoft.dot.org> wrote in message news:d7l362$2do7$1@digitaldaemon.com... > Just never done yet. The basic mechanism is there - just expand (+ and -) the character table - and it's always been the intention to expand it thusly. If you want to have a go, feel free. :-) Ok, I willl, thanks... BTW, I just received approval from SourceForge on the install utility I mentioned before, still interested? Pablo |
June 01, 2005 Re: Integer to string conversions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pablo Aguilar | "Pablo Aguilar" <paguilarg@hotmail.com> wrote in message news:d7l455$2ems$1@digitaldaemon.com... > "Matthew" <admin.hat@stlsoft.dot.org> wrote in message news:d7l362$2do7$1@digitaldaemon.com... >> Just never done yet. The basic mechanism is there - just expand (+ and -) the character table - and it's always been the intention to expand it thusly. If you want to have a go, feel free. :-) > > Ok, I willl, thanks... Cool > BTW, I just received approval from SourceForge on the install utility I mentioned before, still interested? Indeed. |
July 14, 2009 Re: Integer to string conversions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pablo Aguilar | Have just implemented an integer_to_hex_string() set of functions, that will appear in the next alpha release of STLSoft 1.10. Only took four years! ;-) "Pablo Aguilar" <paguilarg@hotmail.com> wrote in message news:d7l0bl$2ajk$1@digitaldaemon.com... > One question... why is it there's no way to use the [unsigned_]integer_to_string functions with a custom radix? > > I needed to convert process ids to hex strings, and the obvious candidate would've been in the integer_to_string family, but I can't get hex :-( > > > Pablo > > |
Copyright © 1999-2021 by the D Language Foundation