[fpc-pascal] Dec2Numb with negative numbers
Roberto P.
padovani.r at gmail.com
Fri Jun 14 22:06:36 CEST 2013
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.
Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130614/363651f5/attachment.html>
More information about the fpc-pascal
mailing list