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

3
LINES

< > BotCompany Repo | #1034388 // sixteenToNine_p

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

Libraryless. Click here for Pure Java version (6312L/35K).

static WidthAndHeight sixteenToNine_p(int height) {
  ret new WidthAndHeightImpl(iround(height*16.0/9), height);
}

Author comment

Began life as a copy of #1014054

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034388
Snippet name: sixteenToNine_p
Eternal ID of this version: #1034388/5
Text MD5: 1b4c8ae31acf7faa958484b7f013e677
Transpilation MD5: 66808f0cbac53f8326893f15a082c456
Author: stefan
Category: javax / math
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-07 18:15:10
Source code size: 116 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 84 / 144
Version history: 4 change(s)
Referenced in: [show references]