Memory.ShiftRight

string Memory.ShiftRight ( 

string  Number,

number  Count )

Description

Arithmetic shift right.

Parameters

Number

(string) Number that you want get Shifting.

Count

(number) Number of time that you want your number shift to right.

Returns

(string) Return Shifted numbers in string mode.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

Example 1

num = Memory.ShiftRight(20, 3) Dialog.Message("", num)

Example 2

num = Memory.ShiftRight("20", 3) Dialog.Message("", num)

Example 3

num = Memory.ShiftRight("90000000000000", 10) Dialog.Message("", num)

See also:  Related Actions

Сайт управляется системой uCoz