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

7
LINES

< > BotCompany Repo | #1028469 // decimalFormatEnglish

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

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

1  
sS decimalFormatEnglish(S format, double d) {
2  
  ret decimalFormatEnglish(format).format(d);
3  
}
4  
5  
static java.text.DecimalFormat decimalFormatEnglish(S format) {
6  
  ret new java.text.DecimalFormat(format, new java.text.DecimalFormatSymbols(Locale.ENGLISH));
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028469
Snippet name: decimalFormatEnglish
Eternal ID of this version: #1028469/4
Text MD5: 3487c7ebe6f5d9b5a31eb3cc1dce917b
Transpilation MD5: 7968b9a1ea66acc45da450b051725fd0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-02 02:20:36
Source code size: 261 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 311
Version history: 3 change(s)
Referenced in: [show references]