mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
add convert function
This commit is contained in:
parent
6443c4a6af
commit
88c30adf67
@ -446,6 +446,12 @@ sub convert_bytes {
|
|||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub convert_fahrenheit {
|
||||||
|
my (%options) = @_;
|
||||||
|
|
||||||
|
return ($options{value} - 32) / 1.8;
|
||||||
|
}
|
||||||
|
|
||||||
sub expand_exponential {
|
sub expand_exponential {
|
||||||
my (%options) = @_;
|
my (%options) = @_;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user