ID:267887
 
Uh... I have a basic newbie question.

I'm in need of removing a number. I'm having problems.
I'm putting in a waiting code so players need to wait for an event to happen, and it's randomized based on what the player chooses for options etc.

In milliseconds.
100
I need to remove the last number.
So when the player checks they don't see milliseconds (100), but the seconds (10) instead.

...could anyone help me out?

P.S. Can anyone give me a calculator for my birthsday? I need a BYOND calculator. =D
Use copytext().
First, 100 milliseconds is 0.1 seconds, or a tick. 100 ticks are 10 seconds. Maybe you're confusing milliseconds with ticks?

Anyway, your wording is off as well. You don't want to remove a number, you want to remove a digit. You can do that easily by dividing by 10 (and possibly using round() to get a whole number). 100 / 10 = 10.
In response to Garthor
okie dokie

you could search for copytext() on newbei search or you can atlease try or you can atleast very polite and say " PLEASE ".

thanks you
Gozenko