add convert function
This commit is contained in:
parent
6443c4a6af
commit
88c30adf67
|
@ -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) = @_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue