Thanks!

Is there an unsigned alternative?

R.


2013/6/16 Michael Van Canneyt <mich...@freepascal.org>

>
>
> 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 somehow "aseptic" or anyway
>> independent from the sign.
>>
>
> It is intended, but not documented. I will document it.
> (the same is true for numb2dec)
>
> Michael.
> ______________________________**_________________
> fpc-pascal maillist  -  
> fpc-pascal@lists.freepascal.**org<fpc-pascal@lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to