mixed base : Java Glossary

mixed base
Humans like to create asymmetrical units of measure like yards/feet/inches, days/hours/minutes/seconds, degrees/minutes/seconds, gallons/quarts/pints/cups or cases/cartons/units.

To do conversions between the various level units is much like converting numbers between non-decimal bases, e.g. octal and hexadecimal. The key is using integer division and modulus. To see how it is done, look at the sample code for days/hours/minutes/seconds/microseconds.

available on the web at:

ClustrMaps is down

optional Replicator mirror
of mindprod.com
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy.
Your face IP:[]
You are visitor number 8,251.