VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Combine Unlimited Numbers into 1 number

by Sarafraz Singh Johl (1 Submission)
Category: Math/Dates
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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.
Code 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

Download Combine Unlimited Numbers into 1 number

Download Combine Unlimited Numbers into 1 number (4 KB)

Combine Unlimited Numbers into 1 number Comments

No comments have been posted about Combine Unlimited Numbers into 1 number. Why not be the first to post a comment about Combine Unlimited Numbers into 1 number.

Post your comment

Subject:
Message:
0/1000 characters