dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Visual Basic > Algorithms

Algorithms

7 of 7     Previous     Next
Adding Workdays to a Date
by Chad Juliano
To calculate a future or past date taking only working days into account, use this handy function.
Algorithm to Switch Between RGB and HSB Color Values
by Duc Nguyen
Changing between RGB and HSB color values is easy using this algorithm.
Finding Modulus of a Very Large Number with a Normal Number
by Sameer Palande
Divide the number into smaller numbers, then find the remainders of these smaller numbers. Add up the remainders and repeat the process. As long as the remainders are retained, the final answer wont change.
Converting Numbers to Column Names in Excel 2007
by John P.
While converting to Excel 2007, I had to update the column number to string code in my program to handle columns of 703 and above (AAA). I found Yassine Moe's code and "simplified" it. This tip shows the results.
Reverse a Numeric Value Without Using String Utilities in Java
by Elayaraja David
Find out how to use the NumberReverse to reverse a given number without using string utilities.
Convert Numbers to Excel Column Names
by Yassine Moe
This algorithm converts column numbers (1-x) to Excel column names.
The Remove_if() Algorithm
by Alan Reynolds
It's easy to fall into the trap of thinking that the remove_if() algorithm moves the items that you wish to be deleted to the end of the vector prior to erasure. A number of Web pages also give this impression. Don't believe them!
7 of 7     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date