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

3
LINES

< > BotCompany Repo | #1033258 // renderComplexWithAngle

JavaX fragment (include)

sS renderComplexWithAngle(Complex c) {
  ret c == null ? "null" : c.abs() + " at " + formatDouble(c.angle()*(180/pi()), 1) + "°";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033258
Snippet name: renderComplexWithAngle
Eternal ID of this version: #1033258/2
Text MD5: 65e8f42953701c7e3d24cb592dda28f5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-17 23:04:46
Source code size: 134 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 69 / 95
Version history: 1 change(s)
Referenced in: [show references]