Percentage Calculations and Currency Dollars and Cents (decimal places)
I am trying to do a simple 'percent of cost = waste' calculation, and it seems that I must do extra steps for this simple math. I have a percentage that is a decimal (33.4%), but cannot set the variable value to more than 2 significant digits after the decimal point (defaults to 0.33). The same occurs if I type in '33.4%' as the default value. I added an extra trigger to set the default value to 334 and another to divide by 1000. That seems to get the math correct, but the variable value still shows as 0.33. Then, the 'cost of waste' comes up with only one significant digit after the decimal point, where it should have 2 since it is currency. I am surprised that SL360 does not have percentage or currency as a variable type? Any suggestions to get this to show correctly. I think I saw one that was java script, but I need to stay away from that if possible. I've attached an example slide.