Fixed a bug related to fahrenheit.
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
"disableDate": false,
|
||||
"disableSearchBar": false,
|
||||
"disable24Hour": false,
|
||||
"disableWeather": true,
|
||||
"disableWeather": false,
|
||||
"weatherConf": {
|
||||
"location": "Pune India",
|
||||
"unit": "fah"
|
||||
|
||||
@@ -123,7 +123,7 @@ function updateTimeHook() {
|
||||
}
|
||||
|
||||
function getFahrenheit(inCelcius) {
|
||||
return (inCelcius * 9 / 5) + 32
|
||||
return ((inCelcius * 9 / 5) + 32).toFixed(2)
|
||||
}
|
||||
|
||||
function indexUppercase(unformatted) {
|
||||
|
||||
Reference in New Issue
Block a user