A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
octal and hexa representation
Joined: Oct 16, 2001
Nov 06, 2001 21:30:00
Why do we need to use octal numbers' and hexa numbers' representation in
not clear with their usage and assignment too.
Joined: Feb 03, 2001
Nov 07, 2001 03:52:00
You may use the following syntax:
DectoOct = Integer.toOctalString(Integer.parseInt(decimal));
String DectoHex = Integer.toHexString(Integer.parseInt(decimal));
It is sorta covered in the
JavaRanch Style Guide
subject: octal and hexa representation
integer number too large
Random phone number generator
K&B Number system questions doubt
is hexadecimal/octal conversion req. for the exam?
Hexa Or Octal values In Float
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014