shaf81
asked on
Random number generation
hi,
I want to generate a random number more than 10 digit (like in below code). But return value was always low than 10 digit.
What is the error?
How can I generate random number more than 10 digit? (expect a code sample).
I want to generate a random number more than 10 digit (like in below code). But return value was always low than 10 digit.
What is the error?
How can I generate random number more than 10 digit? (expect a code sample).
mt_rand(1000000000000, 9999999999999);
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.