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

3
LINES

< > BotCompany Repo | #1036332 // formatDollarPrice

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

Libraryless. Click here for Pure Java version (9726L/53K).

1  
sS formatDollarPrice(double x) {
2  
  ret withDollar(formatWith2OrZeroDecimals(x));
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1036332
Snippet name: formatDollarPrice
Eternal ID of this version: #1036332/1
Text MD5: 8dbabb4941dd68dc02a80b8340a46b7b
Transpilation MD5: 9641abb9d054c2cb3a50ca3deb6ba7ed
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-20 15:12:30
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 193
Referenced in: [show references]