A simple program that takes 2-5 arguments and generates a text file output
https://discord.com/channels/283467363729408000/586931790208434203/1215647840886587432
This program uses invariant culture for converting Doubles to Strings, and Strings to Doubles.
(This means .
will be used as the decimal point.)
YouCanHaveANumberBetween <min:Int or Double> <max:Int or Double> [dateformat:String] [usedouble:Boolean] [seed:Int]
{0} = Day (DD)
{1} = Month (MM)
{2} = Year (YYYY)
{3} = Hour {HH}
{4} = Minute {MM}
{5} = Second {SS}
Default is "{0}-{1}-{2}-{3}-{4}-{5}"
Is case-insensitive.
C:\Program>YouCanHaveANumberBetween 1 100
Generated a random integer value between 1 and 100
Returned 2
C:\Program>YouCanHaveANumberBetween 1 100 "output"
Generated a random integer value between 1 and 100
Returned 43
C:\Program>YouCanHaveANumberBetween 1 100 "number-of-{2}"
Generated a random integer value between 1 and 100
Returned 69
C:\Program>YouCanHaveANumberBetween 1 100 "{0}-{1}-{2}-{3}-{4}-{5}" true
Generated a random decimal value between 1 and 100
Returned 69.93679084022814
C:\Program>YouCanHaveANumberBetween 1.5 2.5 "{0}-{1}-{2}-{3}-{4}-{5}" true
Generated a random decimal value between 1.5 and 2.5
Returned 1.6009828722714252
C:\Program>YouCanHaveANumberBetween 1 100 "{0}-{1}-{2}-{3}-{4}-{5}" true 5174123
Generated a random decimal value between 1 and 100
Returned 84.52262926451985