|
|
You are better off making a string of numbers instead of an actual number that will naturally hit limits as you’ve found.
If you want random then this should work...
//——————————
var n = [“0”,”1”,”2”,”3”,”4”,”5”,”6”,”7”,”8”,”9”];
var nLen = n.length-1;
var len = 100; //Length of final number
var result = “”;
for(var i=0; i <= len; i++){
result += n[Math.random(0, nLen)];
}
result;
//——————————
My random syntax might be off, but give that a try.
David Torno
818.391.6060
--------------------
https://vimeo.com/davidtorno (experiments & breakdowns)
https://gumroad.com/davidtorno (products for sale)
http://provideocoalition.com/author/dtorno (tutorials)
"The most useless day is that in which we do not laugh"
-Charles Field
> On Sep 14, 2019, at 10:09 AM, Jim Curtis <AE-List@media-motion.tv> wrote:
>
> I’ve entered this expression on my Source Text applied to “999999999999”.
>
> Math.round(random(99999999999999999999999999999999999999)*99999999999)
>
> At a certain point, Ae returns an exponential value, like “...99999e +48”
>
> What I’m trying to get is a really loooooonnng string of animating random numbers with no decimal points.
>
> What am I doing wrong? I’m an expression dummy.
> +---End of message---+
> To unsubscribe send any message to <ae-list-off@media-motion.tv>
>
|
|