Sha256: 7f79d4541567b22e53a68f2b14bd4c756dac3379201dd5ef3aafbf4130b670de
Contents?: true
Size: 265 Bytes
Versions: 15
Compression:
Stored size: 265 Bytes
Contents
module Tronprint module StatisticsFormatter def pounds_with_precision(number, precision = nil) if precision.nil? precision = number < 100 ? 4 : 0 end number_with_precision(number * 2.2046, :precision => precision) end end end
Version data entries
15 entries across 15 versions & 1 rubygems