Jump to content
Sign in to follow this  
Icaruk

Is possible to use numbers bigger than 1.000.000 ?

Recommended Posts

Example:

hint format ["%1", 1000000];

Returns 1e+006 (1*10^6).

Share this post


Link to post
Share on other sites

What do you need it for? Since it's shown as proper number you should be able to calculate with it. If you want to print this number on the screen maybe str(1000000) could help or directly put it as string: "1000000".

Share this post


Link to post
Share on other sites

I want something like this:

myVariable = 123456789123456789;

Then, I enter a number inside a dialog and compare it with myVariable.

Share this post


Link to post
Share on other sites

And? As I said, it should be working since the expression from the first post is just a different way to present a number. Did you try to compare some values already?

I've just tried

123456789123456789 == 123456789123456789

in the debug console an it returns true as expected.

Share this post


Link to post
Share on other sites

Using:

str (1000000);

On console I'm getting this "1e+006".

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×