Skip to main content

ModelCenter APIs 2026 R1 SP03

stringToLong

Last update: 30.07.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