top of page

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

   reaper.ShowConsoleMsg(tostring(param).."\n")

end


retval,num = reaper.AZ_GetRandomNumDouble(1,100,0)

Msg(num)


retval,num = reaper.AZ_GetRandomNumDouble(1,100,1)

Msg(num)


retval,num = reaper.AZ_GetRandomNumDouble(1,100,2)

Msg(num)


retval,num = reaper.AZ_GetRandomNumDouble(1,100,3)

Msg(num)

- SCRIPT -

retval,randomNum = reaper.AZ_GetRandomNumDouble(low,high,doubleType)

- API -

対応バージョン:

1.0.0

以降

NUMBER

reaper.AZ_GetRandomNumDouble

Outputs a random floating point number

- API Detail-

▼Input value

low(number): The range of numbers (starting from)

high(number): The range of numbers (up to what point)

doubleType(integer): How much of the number after the decimal point to display


▼Output value

retval(boolean): Success or failure of API execution

rendom(number): Numbers output within a range

bottom of page