I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

User talk:Dedalus

From Rosetta Code

else rqd[edit]

In Fivenum#VBA you wrote ({{trans|Phix}})

   If l Mod 2 = 1 Then
       median = tbl(m)
   End If
   median = (tbl(m - 1) + tbl(m)) / 2

to match the Phix output I think that should be

   If l Mod 2 = 1 Then
       median = tbl(m)
   Else
       median = (tbl(m - 1) + tbl(m)) / 2
   End If

Dear mister Lomax, you are perfectly right. Dedalus (talk) 18:14, 11 February 2019 (UTC) An alternative would be to include a line 'exit sub' after the line 'median = tbl(m)'.