Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

New way to display numbers

Thread view: 
Roedy Green - 03 Feb 2006 07:15 GMT
I have implemented a new way to display numbers in all the program
listings on my website. It is most obvious how it works at
http://mindprod.com/projects/scid.html

I use color to group the digits in threes (or fours for hex).  I also
use a different colour for the lead and trail decorations such as
0x 0 - and trailing letters fF dD lL

I have three colour to play with,
1. for decorations not part of the number proper
2. for odd numbered groups of 3
3. for even numbered groups of 3.

I fiddled with them for a long time and settled on three shades of red
so the teffect is subtle, but still noticeable.  However, there is
complication other than my personal taste. The red colour gun is flaky
on my monitor, so I am not seeing accurate colours.  

IF you would like to look and suggest the what you think would be
better colour numbers, and ideally form a consensus I would much
appreciate it. They eyes you save may be your own.
.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Oliver Wong - 03 Feb 2006 17:19 GMT
>I have implemented a new way to display numbers in all the program
> listings on my website. It is most obvious how it works at
> http://mindprod.com/projects/scid.html

[snip]

> 2. for odd numbered groups of 3
> 3. for even numbered groups of 3.

   See
http://groups.google.ca/group/comp.lang.java.advocacy/msg/056e1c5cac3537ea

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.