Re: Shouldn't 7r6.5 be the same as 7r65 * 0.1
Posted by
Klaus D. Witzel on
Jul 03, 2006; 8:30pm
URL: https://forum.world.st/Shouldn-t-7r6-5-be-the-same-as-7r65-0-1-tp51969p51974.html
Hi Ken,
on Mon, 03 Jul 2006 20:51:00 +0200, you wrote:
> On Mon, 2006-07-03 at 20:30 +0200, Klaus D. Witzel wrote:
>> Would some good soul please explain what
>>
>> Number readFrom: '7r6.5'
>>
>> should return. It is apparently not the same as 7r65 * 0.1 and before I
>> dig deeper (why does this happen, is it a bug or feature) I'd appreciate
>> that someone confirms or rejects (bug | feature).
>>
>> Thank you.
>>
>> /Klaus
>
> Because in the expression
>
> 7r65 * 0.1
>
> the first value is in base 7 whereas the second is in base 10
>
> 7r65 * 7r0.1 IS the same valus as 7r6.5.
Ah! This equation cut my knot, thank you Ken.
/Klaus
> Ken