Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I think you shouldn't use double since is very tricky. You cannot compare the sum with 0.0 using '==' operator, since this is not integer arithmetics. If you make any conversion may be you get for example 0.000000000001 instead of 0.0; An alternative will be to make a comparison like this: (mov - 0.0) < 0.00 or use BigDecimal wich uses integer arithmetics.