top of page
- API -

digitNum = reaper.AZ_FormatNumDigit(num,digit)

- API Detail-

▼Input value

  • num (integer): Number

  • digitNum(integer): Number of digits 1/As is 2/01/02-10 3/001/002-100 4/0001/0002/0003--1000

  • color(integer) : Track color value

▼Output value

  • retval(boolean): Success or failure of API execution

  • name(string) : Track name

- SCRIPT -

function Msg(param)

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

end


digitNum = reaper.AZ_FormatNumDigit(5,2)

Msg(digitNum)


digitNum = reaper.AZ_FormatNumDigit(5,5)

Msg(digitNum)


digitNum = reaper.AZ_FormatNumDigit(10,2)

Msg(digitNum)


digitNum = reaper.AZ_FormatNumDigit(254,3)

Msg(digitNum)


NUMBER

AZ_FormatNumDigit

Supported versions:

1.0.3

onwards

Outputs the specified number of digits of a specified number as a string

bottom of page