468,765 Members | 845 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

Language support for built-in integer type in octal

Jim
I need to input a stream of data that is a string. In
that string are some octal numbers. What happen, did you
forget the ushort.Parse(string,...) that accepts octal
numbers? You have decimal and hexidecimal but no octal.

Any other votes for octal input to the .Parse() method.

Jim
Nov 15 '05 #1
1 3603
Jim,

The utility functions in the Convert class allow you to specify any base
(i.e. uint32 myOctalAsInt = Convert.ToUInt32( octal_string, 8) ).

Regards,
Stephan

"Jim" <ji*@cherokee.com> wrote in message
news:05****************************@phx.gbl...
I need to input a stream of data that is a string. In
that string are some octal numbers. What happen, did you
forget the ushort.Parse(string,...) that accepts octal
numbers? You have decimal and hexidecimal but no octal.

Any other votes for octal input to the .Parse() method.

Jim

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

63 posts views Thread by Tristan Miller | last post: by
6 posts views Thread by james | last post: by
1 post views Thread by Robert Fitzpatrick | last post: by
2 posts views Thread by Ara Anjargolian | last post: by
1 post views Thread by PawelSokolowski | last post: by
1 post views Thread by sachin_himcs | last post: by
43 posts views Thread by Adem24 | last post: by
5 posts views Thread by inungh | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.