Ad
  • Custom User Avatar

    hard task for me.

    2.0 = 2 .100000000000000000 --> 100 --> 0
    7.477 = 7 .147700000000000032 --> 148 --> 48
    4.999 = 4 .199899999999999968 --> 200 --> 100
    18.123 = 18 .112300000000000112 --> 112 --> 12
    0.0 = 0 .100000000000000000 --> 100 --> 0
    1.455 = 1 .145500000000000000 --> 146 --> 46
    1.455 = 1 .145500000000000000 --> 146 --> 46
    1.055 = 1 .105500000000000000 --> 106 --> 6
    1.055 = 1 .105500000000000000 --> 106 --> 6
    16.765 = 16 .176500000000000064 --> 177 --> 77
    16.765 = 16 .176500000000000064 --> 177 --> 77
    1.025 = 1 .102499999999999984 --> 103 --> 3
    1.025 = 1 .102499999999999984 --> 103 --> 3
    16.355 = 16 .135500000000000048 --> 136 --> 36
    16.345 = 16 .134499999999999888 --> 135 --> 35
    
    1.1949999999999998 = 1 .119499999999999984 --> 120 --> 20
    
    java.lang.AssertionError: 
    Expected :-1.19
    Actual   :-1.2