top of page

import sys

sys.path.append(RPR_GetResourcePath() + r"\UserPlugins")

from AZSTOKE_SILVER_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")



retval,num,digit,digitNum,size = AZ_FormatNumDigit(1,2,"",1024)

Msg(digitNum)


retval,num,digit,digitNum,size = AZ_FormatNumDigit(25,2,"",1024)

Msg(digitNum)


retval,num,digit,digitNum,size = AZ_FormatNumDigit(5,3,"",1024)

Msg(digitNum)


retval,num,digit,digitNum,size = AZ_FormatNumDigit(58,3,"",1024)

Msg(digitNum)


- SCRIPT -

retval,num,digitType,digitNum,size = AZ_FormatNumDigit(num,digitType,digitNum,digitNumSize)

- API -

対応バージョン:

1.0.0

以降

NUMBER

AZ_FormatNumDigit

Outputs a string of a specified number of digits

- API Detail-

▼Input value

  • num(integer):Project ID

  • digitType(integer) : 1/1 digit 2/2 digits 3/3 digits 4/4 digits

  • digitTypeNum(string): Enter "" in this box.

  • digitTypeNumSize(integer) : Frame of output character "Example: 1024"

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • digitType(integer) : The input is the same as the output

  • digitTypeNum(string) : String with specified digits

  • digitTypeNumSize(integer) : The output is the same as the input

bottom of page