Octal to Decimal converter

Regan Heath regan at netmail.co.nz
Wed Oct 17 09:58:17 PDT 2007


Todd wrote:
> Does anyone have a link to a Oct2Dec converter? I found ultox and xtoul, many thanks to SpottedTiger.

So, you found this thread then?

http://www.digitalmars.com/d/archives/digitalmars/D/learn/read_Hexadecimal_value_from_string_8632.html

> Octal to decimal seem a little harder to locate.

strtoul decalred in std.c.stdlib will probably do what you want, google 
for it's MAN page or similar.  Or as Frank suggested Tango has it covered.

Regan


More information about the Digitalmars-d-learn mailing list