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

3
LINES

< > BotCompany Repo | #1035467 // toPt_round

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

Libraryless. Click here for Pure Java version (8023L/45K).

1  
static Pt toPt_round(IDoublePt pt) {
2  
  ret pt(iround(pt.x_double()), iround(pt.y_double()));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035467
Snippet name: toPt_round
Eternal ID of this version: #1035467/1
Text MD5: 3569dd5368e219582dd657b8a668d213
Transpilation MD5: ffe467b9c6def1a010506775276cf424
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-21 18:56:53
Source code size: 96 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 127 / 171
Referenced in: [show references]