Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing Decimals?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Spence607




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
TheGuardian001




PostPosted: Wed Jan 07, 2009 3:22 pm   Post subject: Re: Turing Decimals?

use the type real
code:

const pi : real := 3.14
Spence607




PostPosted: Wed Jan 07, 2009 3:40 pm   Post subject: Re: Turing Decimals?

I see, will do.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: