Where do I add a rationalize() function?

Can anyone provide me the exact file name in GitHub (also the folder which it is in) so that I can add a rationalize function in the code.
P.S I am completely new to opensource that’s why I am not sure about this topic. Would be great if anyone helps! Good Day!

Hi @ayushsengupta8 ,
it’s not completely clear what you mean by the rationalize function and where you would like to add it. There’s already a rationalize function in Julia Base, which does e.g. this:

julia> rationalize(0.2)
1//5

Thanks for the reply! It has answered my doubt

Please mark as resolved. Thanks!