Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / StringHelper Class / RandomNumber Method
Number of digits in the random number
In This Topic
    RandomNumber Method
    In This Topic
    Generates a random number with given number of digits
    Syntax
    public static string RandomNumber( 
       int size
    )

    Parameters

    size
    Number of digits in the random number

    Return Value

    A random number with given number of digits
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also