Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -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 | ... | ... |
-
Please register or login to post a comment