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

3
LINES

< > BotCompany Repo | #1032625 // formatDoubleRatio - format doubleRatio with n digits

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

Libraryless. Click here for Pure Java version (106L/1K).

sS formatDoubleRatio(double x, double y, int digits) {
  ret formatDouble(doubleRatio(x, y), digits);
}

Author comment

Began life as a copy of #1014299

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032625
Snippet name: formatDoubleRatio - format doubleRatio with n digits
Eternal ID of this version: #1032625/1
Text MD5: c365137239bcd627d644db6b92576196
Transpilation MD5: d929f9dac134887a52e018c2f34a8ba2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-29 20:58:33
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 111 / 165
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)