decimal to binary calculator

From: Vishal Gupta (vishal_ki_mail@yahoo.com)
Date: Thu May 05 2005 - 16:30:53 EDT


I need to do the following on solaris:
- convert a couple of decimal numbers into binary
format
- be able to do a logical "AND" on the two binary
numbers from the previous step.
- convert the result in step 2 back into decimal.

I anyone aware of a wayto do this?
Preferably, is there a way which could be scripted
out?

thanks and regards,

Vishal

                
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:39 EDT