You are welcome.  I am pretty sure something like this would work too 

<cfset unsignedByte = 240>
<cfif unsignedByte >
   <cfset unsignedByte - 256>
</cfif>
<cfset signedByte = javacast("byte", unsignedByte )>

.. but I guess byteValue() is simpler ;-)

Cheers
-Leigh



      

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338512
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to