Commit 8db8eb7a authored by BuildTools's avatar BuildTools

did more logic pre colorConversion work

parent 2e4451f7
//this is not implemented yet and just a proof of concept to start work, will be implemented once we get live numbers to frontend
var deg;
var type = true;
// true farenheit
// false celcius
function colorMain(type,deg) {
if (type = true) {
colorConversion(deg);
} else {
colorConversion(convertToF(deg));
}
}
//deg needs to be farenheit
function colorConversion(deg) {
//todo
}
function convertToF(CDeg){
Fdeg = Cdeg*(9/5)+32;
return Fdeg;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment