diff options
-rwxr-xr-x | mat | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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") { |