用于将摄氏温度转换为华氏温度。
GetFahrenheit, which converts a Celsius temperature to Fahrenheit.
在该示例中,温度转换程序可以将华氏温度转换为摄氏温度。
In this example, a temperature converter converts Fahrenheit to Centigrade.
让我们首先来看一段代码,其作用是将华氏温度转换为摄氏度,如清单1所示。
Let's begin with a bit of code to convert temperatures in Fahrenheit to temperatures in Celsius, shown in Listing 1.
用于将华氏温度转换为摄氏温度。
GetCelsius, which converts a Fahrenheit temperature to Celsius.
在这个场景中,Web应用程序允许用户实现摄氏温度与华氏温度之间的转换。
In this scenario, a Web application enables the user to convert the temperature from Celsius to Fahrenheit and back again.
清单1显示的WSDL文件是一个温度转换服务,该服务用于将华氏温度转换为摄氏温度。
The WSDL file shown in Listing 1 is for a temperature conversion service, which converts a temperature from Fahrenheit to Celsius. Two operations are defined.
TemeratureEAR应用程序是将温度由摄氏温度转换成华氏温度的简单方法(尽管可能不是很精确)。
The TemeratureEAR application is a simple method that converts the temperature from Celsius to Fahrenheit (although probably not too accurately).
该页显示将温度值转换为华氏温度和摄氏温度的结果。
The page displays the result of converting the temperature value into both Fahrenheit and Celsius.
然后事件处理程序将华氏温度值转换为摄氏温度,并替换识别的字符串。
The event handler then converts the Fahrenheit temperature value to Celsius, and replaces the recognized string.
第一种方法将华氏温度转换为摄氏温度,第二种方法将摄氏温度转换为华氏温度。
The first method converts Fahrenheit temperatures to Celsius, and the second method converts Celsius temperatures to Fahrenheit.
第一种方法将华氏温度转换为摄氏温度,第二种方法将摄氏温度转换为华氏温度。
The first method converts Fahrenheit temperatures to Celsius, and the second method converts Celsius temperatures to Fahrenheit.
应用推荐