Re: [fpc-pascal] Dec2Numb with negative numbers

2013-06-17 Thread Michael Van Canneyt
On Mon, 17 Jun 2013, Roberto P. wrote: Thanks! Is there an unsigned alternative? A signed alternative, you mean ? No, there is not. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/

Re: [fpc-pascal] Dec2Numb with negative numbers

2013-06-16 Thread Roberto P.
Thanks! Is there an unsigned alternative? R. 2013/6/16 Michael Van Canneyt > > > On Fri, 14 Jun 2013, Roberto P. wrote: > > Hi List, >> I recently stumbled upon the fact that the Dec2Numb function does not >> work with negative numbers. Specifically, converting a negative longint >> returns

Re: [fpc-pascal] Dec2Numb with negative numbers

2013-06-16 Thread Michael Van Canneyt
On Fri, 14 Jun 2013, Roberto P. wrote: Hi List, I recently stumbled upon the fact that the Dec2Numb function does not work with negative numbers. Specifically, converting a negative longint returns an empty string. Is that intended or is it a bug? Maybe a base conversion routine should be so