User talk:Dedalus

From Rosetta Code
Revision as of 18:15, 11 February 2019 by Dedalus (talk | contribs) (thnx Pete)

else rqd

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)