Metric Imperial Converter Not Passing

Hi everyone, this one has me so puzzled.

My metric imperial converter is not passing any of the conversion or unit tests on freecodecamp (not the chai tests) and when I use it myself it works perfectly fine, as in its able to convert every unit and number, print out the correct responses, JSON, and everything else. I even pass all the chai tests.

Any help would be appreciated.

Link to my project:

You will notice that for 1gal, returnNum value is 3.7854 and the test is expecting 3.78541. You should be rounding to 5 decimal places as stated in the user story (last test).