Skip to content

Commit a48c2b6

Browse files
authored
Merge pull request #162 from WeatherTago/feat/39-alarm
[Fix] congestion format
2 parents 1f535fd + 4da28c9 commit a48c2b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/tave/weathertago/service/alarm/AlarmSendServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ private String createNotificationBody(Alarm alarm, AlarmTimeInfo timeInfo,
170170

171171
String congestionStr = String.format("%s (%.0f%%)",
172172
prediction.getCongestionLevel(),
173-
prediction.getCongestionScore() * 100);
173+
prediction.getCongestionScore());
174174

175175
String weatherStr = String.format(
176176
"기온 %.1f°C, 습도 %.1f%%, 강수량 %.1fmm, 풍속 %.1fm/s, 적설 %.1fcm, 풍향 %.1f°",

0 commit comments

Comments
 (0)