This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//input & output variables definition | |
let input_var = event.conversation.variables.YOUR_VARIABLE_HERE; //your input variable name | |
let output_var = "YOUR_VARIABLE_HERE"; //your output variable name | |
// Decimals to show | |
// 2 --> currency format | |
// 1 --> percentage format | |
const decimals_to_show = 2; //change this value | |
//--------------------------------------------------- |