Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
10248670
Topic
814863
Board
Development & Technical Discussion
Re: how to handle btc in javascript
by
coinableS
on
24/01/2015, 16:44:17 UTC
Quote from: jxm262 on January 23, 2015, 07:53:13 PM
Update: for your above..
parseFloat("15854420.40053001").toFixed(
;
your toFixed8 got converted to a smiley. I've used both methods, the float and just integer and count satoshis. I like the satoshi approach more when storing in my DB IMO.