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).

sS decimalFormatEnglish(S format, double d) {
  ret decimalFormatEnglish(format).format(d);
}

static java.text.DecimalFormat decimalFormatEnglish(S format) {
  ret new java.text.DecimalFormat(format, new java.text.DecimalFormatSymbols(Locale.ENGLISH));
}

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: 178 / 309
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)