Computer Science Canada

Turing Decimals?

Author:  Spence607 [ Wed Jan 07, 2009 2:46 pm ]
Post subject:  Turing Decimals?

Is there any way to use decimal numbers within Turing or fractions, anything besides whole numbers?

Author:  TheGuardian001 [ Wed Jan 07, 2009 3:22 pm ]
Post subject:  Re: Turing Decimals?

use the type real
code:

const pi : real := 3.14

Author:  Spence607 [ Wed Jan 07, 2009 3:40 pm ]
Post subject:  Re: Turing Decimals?

I see, will do.


: