website logo
Navigate through spaces
ChartHop documentation
⌘K
ChartHop Help Center
Getting around in ChartHop
ChartHop for Employees
Implementing ChartHop
ChartHop for Administrators
Carrot reference
ChartHop for Developers
Partners
Release notes
Resources
Docs powered by archbee 
website logo

+ (add)

An operator used to add two or more expressions.

Syntax

valueOne + valueTwo + valueThree + ...

Sample usage

1 + 2 + 3 returns 6

"concat" + "enate" returns concatenate

('2021-01-01') + 1 returns 2021-01-02

Supported data types

  • If two Numbers, Money values, or Percents are added together, the values will be added.
  • If either side is a String, then both sides will be concatenated as a String.
  • If either side is a List, then both sides are cast to Lists and the two Lists will be joined together.
  • If the left side is a Date, and the right side is a Number, it will return the date plus that many days.
  • If a Money value and a Number value are added, the Money value will increase by the value of the Number.
  • If a Percent value and a Number value are added, the Number value will increase by the value of the Percent.

See also

  • Number
  • Money
  • Percent
  • String
  • Date
  • - (subtract)



Updated 03 May 2023
Did this page help you?
Yes
No
PREVIOUS
Operators
NEXT
- (subtract)
Docs powered by archbee 
TABLE OF CONTENTS
Syntax
Sample usage
Supported data types
See also