Re: Radix in Character class-still not clear


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Re: Radix in Character class-still not clear

  1. #1
    nikhi Guest

    Re: Radix in Character class-still not clear


    what u said is ok. but how do I get an answer as 36 for Character.MAX_RADIX?

    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >"Radix" means the base of the number system you want to use. The number
    >system we use every day has base, or radix, 10. You are probably familiar
    >with hexadecimal notation, which has radix 16, and with binary notation,
    >which has radix 2.
    >
    >nikhi <p_viji@rediffmail.com> wrote in message
    >news:39c9e378$1@news.devx.com...
    >>
    >> In java.lang package there is a Character class which has constants

    >defined
    >> such as MAX_RADIX,MIN_RADIX
    >> I get the value as 36 & 2 resp.
    >> explain what radix means & how is this value obtained?
    >> Thanks in advance.
    >>
    >>

    >
    >



  2. #2
    Paul Clapham Guest

    Re: Radix in Character class-still not clear

    That's the number the designers of the class decided to use. Possible
    reason: hexadecimal (radix 16) uses 0-9 and A-F. Radix 36 would use 0-9
    and A-Z. Radix 37 would use 0-9 and A-Z and what?

    nikhi <p_viji@rediffmail.com> wrote in message
    news:39cb2ec6$1@news.devx.com...
    >
    > what u said is ok. but how do I get an answer as 36 for

    Character.MAX_RADIX?
    >
    > "Paul Clapham" <pclapham@core-mark.com> wrote:
    > >"Radix" means the base of the number system you want to use. The number
    > >system we use every day has base, or radix, 10. You are probably

    familiar
    > >with hexadecimal notation, which has radix 16, and with binary notation,
    > >which has radix 2.
    > >
    > >nikhi <p_viji@rediffmail.com> wrote in message
    > >news:39c9e378$1@news.devx.com...
    > >>
    > >> In java.lang package there is a Character class which has constants

    > >defined
    > >> such as MAX_RADIX,MIN_RADIX
    > >> I get the value as 36 & 2 resp.
    > >> explain what radix means & how is this value obtained?
    > >> Thanks in advance.
    > >>
    > >>

    > >
    > >

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center