Skip to main content

ModelCenter APIs 2025 R2

stringToLong

Last update: 16.07.2025

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