Simple Math Operations

svenson1978

Новичок
Регистрация
06.01.2015
Сообщения
23
Благодарностей
1
Баллы
3
Hi guys,

I am stuck with some simple math operations.

Variable1 = 10
Variable1 = 2

{-Variable.1-}/{-Variable.2-} --> 10/2

What I would like to get is the actual number = 5 and not the text.

I guess there is a syntax not to treat it as text but I don't know it.

Hope someone can help.

Thanks
 

budora

Client
Регистрация
13.08.2012
Сообщения
831
Благодарностей
554
Баллы
93
var x=10;
var y=2;
x/y;
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)