Jump to content

Looking for a custom to get the nearest total based on the given number


Recommended Posts

Is there a way to accomplish this? below is the sample number, I need to get at least the closest number.

Sizes
136, 91, 88, 84.75, 75, 72, 70, 68, 64, 62, 61, 60, 59, 58, 57, 56.25, 56, 55, 54, 52, 51, 50, 49, 48

How can I get the combination of 228 from the list above?

For Example:
70, 56, 52, 50 = 228 or
68, 62, 50, 48 = 228

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.