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

4
LINES

< > BotCompany Repo | #1036218 // formatPrice

JavaX fragment (include)

1  
sS formatPrice(double price) {
2  
  //ret formatDouble2(price);
3  
  ret formatDouble_significant(price, 6);
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036218
Snippet name: formatPrice
Eternal ID of this version: #1036218/2
Text MD5: 2e4e449e853c1b63c3fe40a6d9008ef6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-31 16:22:00
Source code size: 107 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 134 / 154
Version history: 1 change(s)
Referenced in: [show references]