feat: add toFahrenheit() method
This commit is contained in:
parent
428e9e788b
commit
35c694af79
1 changed files with 4 additions and 0 deletions
|
@ -49,5 +49,9 @@ export default {
|
||||||
|
|
||||||
return lbs;
|
return lbs;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
toFahrenheit(celsius) {
|
||||||
|
return celsius * 1.8 + 32;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue