Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Calculator | Langflow Documentation
[go: Go Back, main page]

Skip to main content
Version: 1.10.x

Calculator

The Calculator component performs basic arithmetic operations on mathematical expressions. It supports addition, subtraction, multiplication, division, and exponentiation operations.

For an example of using this component in a flow, see the Python Interpreter component.

Calculator parameters

NameTypeDescription
expressionStringInput parameter. The arithmetic expression to evaluate, such as 4*4*(33/22)+12-20.
resultJSONOutput parameter. The calculation result as a JSON object containing the evaluated expression.
Search