Skip to main content

Name

ec_add — perform addition of two numbers

Synopsis

ec_add { number1 } { number2 }

Description

ec_add takes two numbers and returns their sum.

$a = "55.54";
$b = 0;
$sum = ec_add $a $b;
ec_log "${a} + ${b} is ${sum}";
#sum is 55.540000
Was this page helpful?