[fpc-pascal] Format specifier in FPC?

Darius Blaszyk dhkblaszyk at gmail.com
Wed Jun 27 02:06:49 CEST 2018


Hi,

I have the following format specifier in C : %+.05f. What would be the FPC
equivalent?

A float is printed like this: -0.70711

The specified '+' will explicitly print out the sign for the float
independent if it is a positive or negative.

Rgds, Darius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180627/2267c41e/attachment.html>


More information about the fpc-pascal mailing list