Menu
Search




Articles & Documents

Close Tutorials

Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
22 Subscribers
CPDB.Net

Friends News
Visits

   visitors

   visitors online

Webmaster - Infos
forum.gifForum - ppCompiler - Topic #3

Forum - Forum
ppCompiler - ppCompiler


active  Topic # 3  Another kind of numbers using var. as real

27/12/2008 @ 23:20
by lvispy

Anonymous

visitor

Hello, i'm using the PP compiler to compile some programs to calcs, i use the var as real, but when i will use, the results looks like 5.00000000e not 5. I wanna change it, because it's not pratcise for me.
Write to lvispy   Post an answer  Top
Answer n° 1
--------
28/12/2008 @ 17:15
by Philippe

Anonymous

visitor

writeln(x:1:2) display the real x with 2 fractionnal digits.

Write to Philippe   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 




^ Top ^