1#[allow(unused_variables)]
2#[allow(dead_code)]
3
4pub fn cm_m(unit1: f64) {
5 let _ans = unit1 / 100.0;
6}
7
8pub fn mm_cm(unit1: f64) {
9 let _ans = unit1 / 10.0;
10}
11
12pub fn m_cm(unit1: f64) {
13 let _ans = unit1 * 100.0;
14}
15
16pub fn cm_mm(unit1: f64) {
17 let _ans = unit1 * 10.0;
18}
19
20pub fn mm_m(unit1: f64) {
21 let _ans = unit1 * 1000.0;
22}
23
24pub fn km_m(unit1: f64) {
25 let _ans = unit1 * 1000.0;
26}
27
28pub fn m_km(unit1: f64) {
29 let _ans = unit1 / 1000.0;
30}
31
32pub fn mm_km(unit1: f64) {
33 let _ans = unit1 / 1000000.0;
34}