#!/usr/bin/env rubyrequire 'rational'require 'mathn'rat = Rational(25/100) # => 1/4 -- lowest termsrat * 3 # => 3/4 -- multiply