Libraryless. Compilation Failed (3121L/17K).
1 | sS formatDouble_noDotZero(double d, int digits) { |
2 | S s = formatDouble(d, digits); |
3 | ret dropSuffix(".0", s); |
4 | } |
5 | |
6 | sS formatDouble_noDotZero(double d) { |
7 | S s = formatDouble(d); |
8 | ret dropSuffix(".0", s); |
9 | } |
Began life as a copy of #1028470
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032148 |
Snippet name: | formatDouble_noDotZero |
Eternal ID of this version: | #1032148/1 |
Text MD5: | 178a43d9a5d3c8635fc0adf0f3f8eb59 |
Transpilation MD5: | 5a2573967528c9fb3eb76a981e70a5e9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-14 11:00:08 |
Source code size: | 212 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 149 / 201 |
Referenced in: | [show references] |