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
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to