From: paul.rogers@... (Paul) Date: 2004-09-23T22:44:32+09:00 Subject: Re: negative numbers and binary formats Thanks for all the replies on this. Im using ruby to simulate some hardware that uses the modbus protocol ( modbus is a fairly simple protocol used in industrial automation) and now need to handle -ve numbers. These replies have helped me see some other places where I can clean up the code. Paul