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

3
LINES

< > BotCompany Repo | #1032494 // formatDoubleRect

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

Libraryless. Click here for Pure Java version (248L/2K).

sS formatDoubleRect(int digits, DoubleRect r) {
  ret r == null ? str(r) : formatDouble(r.x, digits) + "/" + formatDouble(r.y, digits) + ", size: " + formatDouble(r.w, digits) + "/" + formatDouble(r.h, digits);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032494
Snippet name: formatDoubleRect
Eternal ID of this version: #1032494/1
Text MD5: 6e7158c61f6acdfc8e59964c53787b81
Transpilation MD5: 615b06617619110ab7266c7698f0edc1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-10 17:47:28
Source code size: 214 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 66 / 98
Referenced in: [show references]