Click or drag to resize

APIconvertValue Method

Convert units of a value.
REST path: /units/convert/[value]
REST verb: GET
REST header: {"OldUnits", OldUnits}, {"NewUnits", NewUnits}

Namespace: NextFEMapi
Assembly: NextFEMapi (in NextFEMapi.dll) Version: 2.6.0.0 (2.6.0.0)
Syntax
public double convertValue(
	double value,
	string OldUnits,
	string NewUnits
)

Parameters

value  Double
Numerical value to convert
OldUnits  String
Old units of the input value. Eg. kN/cm^2
NewUnits  String
Target units for the input value. Eg. N/mm^2

Return Value

Double
Converted value
See Also