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
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