Skip to Content

Adding a vale to a variable in time management

Jan 06, 2017 at 11:08 AM


avatar image
Former Member

I have a situation where I want to calculate a fraction that needs to be applied to a unit of hours, this is being done in a time management PCR. I need to apply this fraction at various points in my rule but won't need to use it again in any other PCR in my schema.

I want to avoid using a time type and was going to use a variable instead, the operation I am using is ADDVS.

The problem I have is I need the fraction to be stored to 4 decimal places as it would be in a time type, looking at the VS/CVS internal table I can see that variables are only held to 2 decimal places.

Does anybody know a way of changing this so that a variable can be held to 4 decimal places as opposed to 2?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers