Re: FromDigits[{135,21}] -> 1371 (??!!)
- To: mathgroup at smc.vnet.net
- Subject: [mg53763] Re: FromDigits[{135,21}] -> 1371 (??!!)
- From: "Astanoff" <astanoff at yahoo.fr>
- Date: Wed, 26 Jan 2005 04:37:40 -0500 (EST)
- References: <ct561v$e8b$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
> Can anyone please explain what happens,
> if "Digits" actually are "integers":
> FromDigits[{3,2}]
> 32(!)
> FromDigits[{13,2}]
Digit : "One of the ten Arabic number symbols, 0 through 9,
or such a symbol used in a system of numeration".
So, without any base specified, FromDigits[{13,2}]
assumes default base 10 and should output an error message.
Imho, that's a bug.
v.a.
- Follow-Ups:
- Re: Re: FromDigits[{135,21}] -> 1371 (??!!)
- From: DrBob <drbob@bigfoot.com>
- Re: Re: FromDigits[{135,21}] -> 1371 (??!!)