⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
MyCyma
All Projects
MyCyma
Overview
Activity
Issues
Repository
Download (221 Bytes)
Statistics
| Branch:
master
| Tag:
0.2.0
| Revision:
root
/
lib
/
utils.rb
@ c257c9f9
View
History
Annotate
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
« Previous
1
…
3
4
5
Next »
(5-5/5)
Loading...