o van de Voort"
To: "FPC-Pascal users discussions"
Sent: Tuesday, January 26, 2010 11:23 PM
Subject: Re: [fpc-pascal] Cancelling Scientific notation
In our previous episode, James Gibbens said:
Good evening Frank,
Thank you very much for your answer. The Writeln(y:0:2); wor
In our previous episode, James Gibbens said:
> Good evening Frank,
> Thank you very much for your answer. The Writeln(y:0:2); works beautifully.
> The backgroundcolor is solved as far as the text goes, but the rest is still
> black. What is the whole area cover by the program, the "screen" called?
iscussions"
Sent: Monday, January 25, 2010 8:53 PM
Subject: Re: [fpc-pascal] Cancelling Scientific notation
On 25/01/2010 18:37, James Gibbens wrote:
Hallo FPC gurus,
I am VERY new to free pascal and I have a couple of problems. Can
somebody please help?
1. If a, b are real numbers an
On 25/01/2010 18:37, James Gibbens wrote:
Hallo FPC gurus,
I am VERY new to free pascal and I have a couple of problems. Can
somebody please help?
1. If a, b are real numbers and I want to round a/b foo to 3 decimal
places, the answer is displayed in Scientific notation. How do I turn
that off
1) Format('%.3f', [A / B]);
2) It depends on you GUI framework/library, but in Delphi and Lazarus it
would be "Color := 0;"
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal