matteo1578
Mechanical
- May 30, 2012
- 4
Hi all,
I am a new member of this forum.
I want to ask a simple (I hope) question:
Suppose you have a file whose name indicates the measures of the piece (height, width, thickness), so for example:
2000x1000x10 (a panel in practice).
Using these relations:
height = EXTRACT (REL_MODEL_NAME, 1.4)
width = EXTRACT (REL_MODEL_NAME, 6.4)
thickness = EXTRACT (REL_MODEL_NAME, 11.2)
I get the parameters:
height = 2000
width = 1000
thickness = 10
All these values are STRING. Is there a way to turn them into numbers?
Thank you!
I am a new member of this forum.
I want to ask a simple (I hope) question:
Suppose you have a file whose name indicates the measures of the piece (height, width, thickness), so for example:
2000x1000x10 (a panel in practice).
Using these relations:
height = EXTRACT (REL_MODEL_NAME, 1.4)
width = EXTRACT (REL_MODEL_NAME, 6.4)
thickness = EXTRACT (REL_MODEL_NAME, 11.2)
I get the parameters:
height = 2000
width = 1000
thickness = 10
All these values are STRING. Is there a way to turn them into numbers?
Thank you!