박권수

fix. Integer | float -> float 소수점자리 설정

...@@ -47,9 +47,9 @@ const bottleInfoUpdate = async(data) => { ...@@ -47,9 +47,9 @@ const bottleInfoUpdate = async(data) => {
47 47
48 bottleId = parseInt(bottleId); 48 bottleId = parseInt(bottleId);
49 isOpen = parseInt(isOpen); 49 isOpen = parseInt(isOpen);
50 - temperature = parseFloat(temperature); 50 + temperature = parseFloat(temperature).toFixed(1);
51 - humidity = parseFloat(humidity); 51 + humidity = parseFloat(humidity).toFixed(1);
52 - totalWeight = parseFloat(totalWeight); 52 + totalWeight = parseFloat(totalWeight).toFixed(2);
53 53
54 const bottleMedicine = await BottleMedicine.findOne({ bottleId, useYn : 'Y' }); 54 const bottleMedicine = await BottleMedicine.findOne({ bottleId, useYn : 'Y' });
55 55
......