1) Format('%.3f', [A / B]);
2) It depends on you GUI framework/library, but in Delphi and Lazarus it
would be "Color := 0;"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100125/8c986b1e/attachment.html>