Re: [fpc-pascal] Cancelling Scientific notation

2010-02-05 Thread James Gibbens
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

Re: [fpc-pascal] Cancelling Scientific notation

2010-01-26 Thread Marco van de Voort
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?

Re: [fpc-pascal] Cancelling Scientific notation

2010-01-26 Thread James Gibbens
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

Re: [fpc-pascal] Cancelling Scientific notation

2010-01-25 Thread Frank Peelo
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

Re: [fpc-pascal] Cancelling Scientific notation

2010-01-25 Thread Anthony Walter
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