Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

StringFromIntg()

  • Last UpdatedSep 24, 2024
  • 1 minute read

将整数值转换为其它底数的字符串表示并返回结果。

类别

字符串型

语法

SringResult = StringFromIntg( Number, numberBase );

参数

编号

要转换的数字。任何数字或整型属性。

numberBase

转换时要使用的底数。任何数字或整型属性。

示例

StringFromIntg(26, 2); ' 返回 "11010"

StringFromIntg(26, 8); ' 返回 "32"

StringFromIntg(26, 16); ' 返回 "1A"

另请参阅

StringASCII()

StringChar()

StringFromReal()

StringFromTime()

StringInString()

StringLeft()

StringLen()

StringLower()

StringMid()

StringReplace()

StringRight()

StringSpace()

StringTest()

StringToIntg()

StringToReal()

StringTrim()

StringUpper()

Text()

In This Topic
Related Links