add convert function

This commit is contained in:
garnier-quentin 2019-09-27 10:14:18 +02:00
parent b083bb5250
commit 61eb169759
1 changed files with 6 additions and 0 deletions

View File

@ -446,6 +446,12 @@ sub convert_bytes {
return $value;
}
sub convert_fahrenheit {
my (%options) = @_;
return ($options{value} - 32) / 1.8;
}
sub expand_exponential {
my (%options) = @_;