Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1026899 // intAverage (as double)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2184L/14K).

static double intAverage(Collection<Int> l) {
  ret doubleRatio(intSumAsLong(l), l(l));
}

Author comment

Began life as a copy of #1010188

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026899
Snippet name: intAverage (as double)
Eternal ID of this version: #1026899/1
Text MD5: a4254fb2c68b60bf7670f110e368fa1f
Transpilation MD5: df72a9205a4ff5fac22a7aacce8a80c5
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-02 15:32:50
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 304
Referenced in: [show references]