reyssat wrote:
> Gosse michel a ?crit :
>
>> Hello
>>
>> How can i transform a number to list of its digits :
>> For instance, 345 -> [3,4,5]
>>
>>
> Hello Michel
> maybe this is what you want :
> (%i1) f(x):=charlist(string(x));
>
These are characters, not numbers. "3"+"4" does not simplify to "7".
My guess is that is not what the original poster wanted.
RJF