Current weather in Corfu
The image below shows the temperature in Corfu (Kerkyra) at the moment. You may also get a more detailed forecast of the weather in Corfu, or check out the weather anywhere in the world by just clicking on the icon.
Temperature Calculator
The temperature calculater below is provided in the event that you may wish to check any temperatures in a scale that you are more familiar with. We hope that you find it useful.
function clearFields() { document.Converter.one.value = ""; document.Converter.two.value = ""; } function sendError() { alert("Please enter a number."); } function checknumber() { var x = document.Converter.one.value; var y = document.Converter.two.value; var nx = x.split(""); var ny = y.split(""); if(nx[0] == "-") { x = nx[1];} if(ny[0] == "-") { y = ny[1];} var anum = /(^\d+$)|(^\d+\.\d+$)/; if ( (anum.test(x) || anum.test(y)) && (x != "" || y != "") ) testresult=true; else { alert("Please enter a valid number."); testresult=false; } return (testresult); } function updateCelsius() { document.Converter.one.value = Math.round((5.0/9.0) * (document.Converter.two.value - 32.0)); } function updateFahrenheit() { document.Converter.two.value = Math.round((9.0/5.0) * document.Converter.one.value + 32.0); } function convertTemperature() { if ( (document.Converter.one.value != "") && (document.Converter.two.value == "") ) { if(checknumber()) { updateFahrenheit(); } } else if( (document.Converter.one.value == "") && (document.Converter.two.value != "") ) { if(checknumber()) { updateCelsius(); } } else if( (document.Converter.one.value == "") && (document.Converter.two.value == "") ) { sendError(); } else { if(checknumber()) { document.Converter.two.value = ""; updateFahrenheit(); } } }
°C = °F
