Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 854c414

Browse files
committed
round the digital run points to 1 decimal digits.
1 parent 5c1d547 commit 854c414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries/challenge_details

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SELECT
5353
ELSE 0
5454
END AS current_phase_remaining_time
5555
, CASE WHEN pidr.value = 'On' THEN
56-
NVL((SELECT value::decimal FROM project_info pi_dr WHERE pi_dr.project_info_type_id = 30 AND pi_dr.project_id = p.project_id), (SELECT round(NVL(pi16.value::decimal, 0)) FROM project_info pi16 WHERE pi16.project_info_type_id = 16 AND pi16.project_id = p.project_id))
56+
NVL((SELECT value::decimal FROM project_info pi_dr WHERE pi_dr.project_info_type_id = 30 AND pi_dr.project_id = p.project_id), (SELECT round(NVL(pi16.value::decimal, 1)) FROM project_info pi16 WHERE pi16.project_info_type_id = 16 AND pi16.project_id = p.project_id))
5757
ELSE NULL END AS digital_run_points
5858
, pi51.value AS submission_limit
5959
, nvl((SELECT max(event_id) from contest_project_xref x, contest c where project_id = p.project_id and c.contest_id = x.contest_id), 0) as event_id

0 commit comments

Comments
 (0)