Implement BCDToStrF
Original Reporter info from Mantis: lacak @lacak.sk
-
Reporter name: LacaK
Original Reporter info from Mantis: lacak @lacak.sk
- Reporter name: LacaK
Description:
Patch implements BCDToStrF function and also fixes bug in BCDToStr function (if not defined use_ansistrings), plus some minor formating.
Additional information:
@marco: in bug report http://bugs.freepascal.org/view.php?id=18338 you wrote, that using global variable DecimalPoint is odd.
I can easy fix it by using DefaultFormatSettings.DecimalSeparator and DefaultFormatSettings.ThousandSeparator and drop completelly stuff around the DecimalPoint and SetDecimals. Should I do it ? (I am not 100% sure, may be, that original author of FmtBCD unit has some reason for it ;-))
Mantis conversion info:
- Mantis ID: 18388
- Version: 2.5.1
- Fixed in revision: 17145 (#0e6e2ba5)
- Monitored by: » Joost (Joost van der Sluis)