Bug# 38 baseConvert
Wouter
wouter.abraham at pi.be
Wed Dec 10 06:18:33 EST 2003
On 09 Dec 2003, at 18:00, use-revolution-request at lists.runrev.com wrote:
>
> Message: 7
> Date: Tue, 9 Dec 2003 17:58:30 +0100
> From: Wouter <wouter.abraham at pi.be>
> Subject: Bug# 38 baseConvert
> To: use-revolution at lists.runrev.com
> Message-ID: <EA6EA560-2A68-11D8-A52D-003065CC999E at pi.be>
> 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
More information about the use-livecode
mailing list