Function rubble_templates::functions::plus_function [−][src]
pub fn plus_function(parameters: &[String]) -> String
Expand description
Adds (or concatenates) values. If any of the parameters is not convertible to a number, then the rest will be concatenated.
Eg.
+ 1 2 3.3
+ 1 2 "hello" 3.3
Expected output:
6.3
3hello3.3