Get the last number of integer value
Posted: Sat May 05, 2007 1:49 pm
Hi,
Let's say I have a value:
$BigNumber = "487786572";
Now I need to get the last number of $BigNumber - 2 and assign it to a new variable. How can I do that?
Thanks for any suggestions.
Let's say I have a value:
$BigNumber = "487786572";
Now I need to get the last number of $BigNumber - 2 and assign it to a new variable. How can I do that?
Thanks for any suggestions.