On 09 Dec 2003, at 18:00, [EMAIL PROTECTED] wrote:



Message: 7 Date: Tue, 9 Dec 2003 17:58:30 +0100 From: Wouter <[EMAIL PROTECTED]> Subject: Bug# 38 baseConvert To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed

snip


But  the negative signed integers are considered as unsigned integers
prefixed with a "-" and the result  is rendered as a prefixed hex.
baseConvert("-1",10,16) should result in FFFFFFF1 as
baseConvert("F1",16,10) results in 241.


Oops typo:


baseConvert("-1",10,16) should result in FFFFFFF1

should be :


baseConvert("-15",10,16) should result in FFFFFFF1

Sorry,

WA

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to