# JBoss EAP Temperature Converter Service

Enter the temperature you wish to convert. Then click C for Celsius or F for Fahrenheit to choose the temperature scale.

Scale (default): Temperature: Converts to:

How the temperature conversion works:

- The input temperature string is parsed using a regular expression that expects a floating point number. The parsed temperature value is combined with the selected or default temperature scale to convert the temperature to the new scale.
- If the input temperature is null or can not be converted, an error message is displayed and 'Invalid temperature' is returned for the result.
- Both the parsed input temperature and the resulting converted temperature are truncated to 3 decimal places.