⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
MyCyma
All Projects
MyCyma
Overview
Activity
Issues
Repository
Download (234 Bytes)
Statistics
| Branch:
master
| Tag:
0.2.0
| Revision:
root
/
lib
/
utils.rb
@ 17df3709
View
History
Annotate
def
mm_to_cm
(
length
)
return
if
length
.
nil?
or
length
==
""
length
=
length
.
to_f
/
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
« Previous
1
…
3
4
5
Next »
(5-5/5)
Loading...