-0.5167 is this number rational or irrational ? Thank you

Any number that has an ending and can be turned into a fraction is rational. if -0.5167 is the complete number then, it is rational. But if it is repeating or never ending like pi then it is irrational