Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Common Process InputsCombine ArraysFilter Array OutputGet Array ItemGet Array Object ItemGet Last Run ArrayGet Object ItemJSON String to ObjectBasic MathsGet Last Run Upstream OutputsMoving Number CalculationNumber RoundingNumber to StringBased64 string to ImageString to NumberTemplate StringISO Time DeltaXML String to ObjectAuto Label Object DetectionBrightnessCircle Detection1D/2D Code ReaderColor DetectionColor ThresholdContrastMultiple CropsCropDetected Zones CountersFacial Expression DetectionGender and Age DetectionDetected Objects to OCRDetected Objects TransformPeople DetectionDraw Detected ObjectsFace DetectionFace RecognitionFeature MatchingFire & Smoke DetectionFlipGeneral Object DetectionImage ClassificationImage SimilarityKey Points DetectionNumber Plate ReaderObject DetectionOCRPose EstimationResizeRotateSaturationInstance SegmentationWatershed SegmentPolygon DetectionTracker Line CountTracker Zones CountTracker HeatmapTrackerWhite Balance
Widgets

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesProcess

Basic Maths

Slot Usage: 0

Overview

Basic Maths evaluates a sequence of numbers and arithmetic operations left to right.

Input

Number and Operations

array required

Ordered list of number/operation pairs. Each item includes:

Number

number required

Operand value. Can be connected from another node output.

Default: 0

Operation

string required

Operation applied with this number in the sequence.

Values:

  • ADD (default) — Add (+)
  • SUBTRACT — Subtract (-)
  • MULTIPLY — Multiply (×)
  • DIVIDE — Divide (÷)

Output

Output Value

number

Result of the basic maths calculation.

Default: 0

JSON String to Object

Previous Page

Get Last Run Upstream Outputs

Next Page

On this page

OverviewInputNumber and OperationsNumberOperationOutputOutput Value