View Single Post
  #7 (permalink)  
Old January 2nd, 2011, 10:14 AM
DrPurdum DrPurdum is offline
Friend of Wrox
Points: 1,166, Level: 13
Points: 1,166, Level: 13 Points: 1,166, Level: 13 Points: 1,166, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2008
Location: Indianapolis, IN, USA.
Posts: 234
Thanks: 0
Thanked 32 Times in 30 Posts
Default Opps!

The last code line still needs the ".0" added to 32:

Celcius = FIVENINTHS * (Farenheit - 32.0);


One of the dangers of cut-and-paste! Sorry 'bout that...
__________________
Jack Purdum, Ph.D.
Author: Beginning C# 3.0: Introduction to Object Oriented Programming (and 14 other programming texts)
The Following User Says Thank You to DrPurdum For This Useful Post:
RyanL (January 2nd, 2011)