Put space between temperature and unit

This commit is contained in:
SileNce5k 2024-10-15 11:48:40 +02:00
parent f4ab4efa1d
commit 2b4a8029d1
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -23,7 +23,7 @@ module.exports = {
fahrenheit = fahrenheit.replace(".00","") fahrenheit = fahrenheit.replace(".00","")
} }
sendText = `${initial_number}°C is ${fahrenheit}°F`; sendText = `${initial_number} °C is ${fahrenheit} °F`;
} else { } else {
sendText = "Can only convert to celsius from fahrenheit"; sendText = "Can only convert to celsius from fahrenheit";
} }
@ -35,7 +35,7 @@ module.exports = {
celsius = celsius.replace(".00","") celsius = celsius.replace(".00","")
} }
sendText = `${initial_number}°F is ${celsius}°C`; sendText = `${initial_number} °F is ${celsius} °C`;
} else { } else {
sendText = "Can only convert to fahrenheit from celsius"; sendText = "Can only convert to fahrenheit from celsius";
} }