Exact fraction bug with functions

Information: Exact fraction bug with functions