summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmat4
1 files changed, 4 insertions, 0 deletions
diff --git a/mat b/mat
index 5407621..2ec9415 100755
--- a/mat
+++ b/mat
@@ -140,6 +140,10 @@ sub convert_to_unit {
$convert{'volume'} = $in_amount;
} elsif ($in_unit eq "dl") {
$convert{'volume'} = $in_amount / 10;
+ } elsif ($in_unit eq "cl") {
+ $convert{'volume'} = $in_amount / 100;
+ } elsif ($in_unit eq "ml") {
+ $convert{'volume'} = $in_amount / 1000;
} elsif ($in_unit eq "msk") {
$convert{'volume'} = $in_amount * 0.015;
} elsif ($in_unit eq "tsk") {