📦 NEW: Ajouts des articles de certaines fonctions
This commit is contained in:
parent
0db96aaeb9
commit
84348df7d1
26
.github/backup.sql
vendored
26
.github/backup.sql
vendored
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@ const formatNumberResult = require('../secondary/formatNumberResul
|
||||
* @param {Number} degree - Nombre de degrès
|
||||
* @param {String} unit - Unité du nombre (°C ou °F) après conversion
|
||||
* @returns {Object} false si arguments non valides et sinon un objet contenant la string et le nombre résultat
|
||||
* @examples convertTemperature(23, '°C') → { result: 73.4, resultHTML: "73.4 °F" }
|
||||
* @examples convertTemperature(23, '°F') → { result: 73.4, resultHTML: "73.4 °F" }
|
||||
*/
|
||||
function convertTemperature(degree, unit) {
|
||||
let temperatureValue = 0;
|
||||
|
4
api/package-lock.json
generated
4
api/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "backend",
|
||||
"version": "1.0.0",
|
||||
"name": "api",
|
||||
"version": "2.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
Reference in New Issue
Block a user