|
-
May 1st, 2013, 12:57 PM
#1
Thread Starter
Lively Member
Random Numbers from 0 to &HFFFFFFFF
Hi all
i want generate hex random values from 0 to &HFFFFFFFF
but it gives me error overflow 6
RandomNumberLong = CLng((Upperbound - Lowerbound + 1) * Rnd + Lowerbound)
what should i do to achieve this because i am getting overflow
are there any fix for this. or i should use GetTickCount.
Last edited by Kunical; May 1st, 2013 at 01:22 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|