Google

# File rbot/utils.rb, line 622
       def pretty_print_precip(precip_mm, precip_in)
         # Returns amount if $precip_mm > 0, otherwise "trace" (see Federal
         # Meteorological Handbook No. 1 for code groups P, 6 and 7) used in
         # several places, so standardized in one function.
         if (precip_mm.to_i > 0)
           amount = sprintf(@strings['mm_inches'], precip_mm, precip_in)
         else
           amount = @strings['a_trace']
         end
         return sprintf(@strings['precip_there_was'], amount)
      end