Carrot reference
Functions
percent()
given a value, returns that value as a percent syntax percent(value\[, places]) value the number , percent , or string value to be converted to a percent places the number of decimal places of the returned percent value return type percent docid\ fbn7bfahlfpv4f1c53dxa sample usage percent(50/100) returns 50% percent(0 75) returns 75% percent(0 5667777, 3) returns 56 678% supported data types input type return type logic number docid\ uci5tctfvbhonej6zqijg percent docid\ fbn7bfahlfpv4f1c53dxa if a number value is passed, a percent will be returned only if the number value is represented using division, ex 50/100 , or if it is a decimal percent docid\ fbn7bfahlfpv4f1c53dxa percent docid\ fbn7bfahlfpv4f1c53dxa if a percent value is passed, the same percent value will be returned string docid\ ujw2aqaktel5uuklup73s percent docid\ fbn7bfahlfpv4f1c53dxa if a string value is passed a percent will be returned only if the string value can be converted to a number value, and that number value is a decimal unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null