[fpc-pascal] Dec2Numb with negative numbers
padovani.r at gmail.com
Mon Jun 17 00:19:52 CEST 2013
Is there an unsigned alternative?
2013/6/16 Michael Van Canneyt <michael at 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
>> 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)
> fpc-pascal maillist - fpc-pascal at lists.freepascal.**org<fpc-pascal at lists.freepascal.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal