2019-01-02 11:11:42
@Fireduck maybe floor the percentage instead of rounding it for the field switch completion - that confuses people as it hits 100% a few blocks before the field switches
Rotonen
2019-01-02 11:34:42
and same for the difficulties `difficulty (avg): 41.214 (41.000)` - and still on field 7
Rotonen
2019-01-02 14:24:27
Good idea
Fireduck
2019-01-02 14:25:06
seems you just need to pass in the correct rounding mechanism to the numberformatter
Rotonen
2019-01-02 14:25:44
as it is java, i can only assume it can just handle all the basic stuff like flooring to a precision instead of flooring always meaning integers
Rotonen
2019-01-02 14:39:38
Might have to do a dumb, floor( x*10000)/10000
Fireduck
2019-01-02 15:56:25
the support is there, take time to do proper
Rotonen
2019-01-02 15:56:47
otherwise you floor on a float imprecision duplication there
Rotonen
2019-01-02 17:19:09
rounding mode half even. lol
Fireduck
2019-01-02 17:19:10
http://fireduck.com/java/java-se-8/docs/api/java/math/RoundingMode.html
Fireduck
2019-01-02 17:22:26
yes
Rotonen
2019-01-02 17:42:00
Looks like the GitHub integration is broken
Fireduck
2019-01-02 17:42:09
Also was failing to get some files from GitHub
Fireduck
2019-01-02 17:56:07
https://github.com/snowblossomcoin/snowblossom/commit/2d02423f72cfef50d72d12c3baff85167c3f864c
Fireduck
2019-01-02 17:58:22
wtf
Clueless
2019-01-02 18:02:51
It actually does the floor after the precision, so it if the numer is 40.999999 rather than giving the string "41.000" it will now give "40.999"
Fireduck
2019-01-02 18:03:09
I assume your WTF is why hasn't that popped up in channel already?
Fireduck
2019-01-02 18:03:52
github is broken
Rotonen
2019-01-02 18:04:37
seems so
Fireduck
2019-01-02 18:04:40
Yeah
Clueless
2019-01-02 19:22:27
*https://github.com/snowblossomcoin/snowblossom-android/compare/5f94a6e05872...1549d605ed89*
https://github.com/snowblossomcoin/snowblossom-android/commit/513f5b3ce038c554696d422a05a3f42809ce7895 - added theme changes for test
https://github.com/snowblossomcoin/snowblossom-android/commit/1549d605ed897ca5bb027555d46c2664117a892c
GitHub