Skip to main content

ModelCenter APIs 2025 R2

stringToDouble

Last update: 16.07.2025

public stringToDouble(str: String): Double

Converts a string representing a number in the given format to a real number

Return

the resultant real

Parameters

str the string to convert

Throws

ModelCenterException

Connect with Ansys