Skip to main content

Name

ec_div — perform division of two numbers

Synopsis

ec_div { number1 } { number2 }

Description

ec_div takes two numbers and divides the first number by the second and returns the result.

$a = -86;
$b = 43;
$div = ec_div $a $b;
ec_log "${a} / ${b} is ${div}";
#div is -2.000000
Was this page helpful?