Author Topic: Tutorial on Str commands (strReplace)  (Read 2147 times)

It will not work for decimals.
EDIT: And no, the code I posted will. Yours has errors in it.

What mFloatlenght?

It only returns numbers. His check... checks if the string entered is the same as the output of that, confirming or denying if it is numeric.

Truce has told me an easier method:
Code: [Select]
function isInt(%n)
{
        return %n $= %n * 1;
}

Nice... Nice... Sad... But nice...

There should be a default isInt cmd.

There should be a default addBind command, but nah.