You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Summation of 70%,10%,10%,10% becomes 99.9999999%

Accepted answer
24
Views
4
Comments
edited Jun 8, 2021 5:19AM in Planning 4 comments

Content

Hi,

I have a simple input form to input allocation % and there is a simple rule to sum them up if it equals 100%

Basically, all the situations work well to give a perfect 100%. However, if the combination is  70%,10%,10%,10%, the sum will be 99.9999999%.

Anyone knows what went wrong here or how this coud be fixed?

Thanks!

Sunny

Code Snippet

FIX (&OEP_CurYr, @LIST(@RELATIVE({Entity},0),"OEP_No Entity"), {PP_Scenario},"OEP_Working","BegBalance",xxxxxx)
	
    FIX("No XXXXXX")
		@IDESCENDANTS("All XXXXX");
    ENDFIX

ENDFIX

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!