Skip to main content

ModelCenter APIs 2026 R1

stringToLong

Last update: 18.06.2026

public stringToLong(str: String): Long

Converts a string representing a number in the given format to an integer number

Return

the resultant integer

Parameters

str the string to convert

Throws

ModelCenterException

Connect with Ansys