Project

General

Profile

Download (221 Bytes) Statistics
| Branch: | Tag: | Revision:
def mm_to_cm(length)
return if length.nil? or length == ""
length /= 10
(length.to_i == length) ? length.to_i : length
end

def cm_to_mm(length)
return if length.nil? or length == ""
(length.to_f * 10).to_i
end
(5-5/5)