Carrot reference
Functions
max()
returns the highest of all values passed as parameters syntax max(value, value2, ,) value the first value value2 the second value return type number docid\ uci5tctfvbhonej6zqijg , percent docid\ fbn7bfahlfpv4f1c53dxa , money docid ks5d2xbfor9d8wfrivny sample usage max( 2, 3, 4) returns 4 supported data types input type return type logic number docid\ uci5tctfvbhonej6zqijg number docid\ uci5tctfvbhonej6zqijg if a set of number values is passed, the highest number value will be returned as a number value percent docid\ fbn7bfahlfpv4f1c53dxa percent docid\ fbn7bfahlfpv4f1c53dxa if a set of percent values is passed, the highest percent value will be returned as a percent value money docid ks5d2xbfor9d8wfrivny money docid ks5d2xbfor9d8wfrivny if a set of money values is passed, the highest money value will be returned as a money value unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null