Test Cases (0/6)
    • extractDigit(1824, 2) to return 8

    • extractDigit(1824,0) to return 4

    • extractDigit(1234.56,-1) to return 5

    • extractDigit(199.35, 0) to return 9

    • extractDigit(199.35, -1) to return 3

    • extractDigit(199.35, -2) to return 5

    Output
    Michael
      (0/300)