VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Combine Unlimited Numbers into 1 number

Sarafraz Singh Johl  (1 Submission)   Math/Dates   Visual Basic 5.0   Advanced   Wed 3rd February 2021

This is a utility in which you can combine many numbers of any range onto 1 number.
eg. like RGB function which combines three numbers of range (0-255) into as single number.
This utility can combine more than three numbers of any range eg (0-999) into a single number.
It can be used if you are making own database structure and care about memory conservation.
This is something like integration in mathematics well i don't know as i am not a maths student.
Hope you find it usefull.
you can use same sequence to decompose the number in to original numbers as used in decomposing red,green & blue values from a color.
In case of more clarifications, just email me.

Assumes
it is a function which combines few numbers of a similar range into one number. eg RGB() function with combines three numbers into single number.

Returns
A single number of many number combined

Side Effects
just don't take tooooo big numbers as it will overflow even the currency variable.

Rate Combine Unlimited Numbers into 1 number (6(6 Vote))

Download Combine Unlimited Numbers into 1 number

Combine Unlimited Numbers into 1 number Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters