Bill Allombert on Thu, 10 Dec 2015 11:13:22 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Regarding digits function

On Thu, Dec 10, 2015 at 02:35:33PM +0530, chandra sekaran wrote:
> Hi,
> digits(0) is giving  empty vector.  It should give [0].
> Am i correct or wrong?

No, this is expected: this is consistent with binary(0).
The idea is to remove all leading zeros.