I would like to have an option to change a string parameter to a real number, the same way as you change a real number to a string using Itos(). There is not really a simple way to achieve this now.
Unfortunately itos() function don’t convert a full real number to text, it only gets then rounder integer part of the number, this is the most dumb number to text function ever, to get the full real number as text you need a lot of IF conditions concatenating alot of calculated strings. PTC should address this function working the same way as the EXCEL function where you specify up to what decimal place you want to keep the number with the possibility to round it up or down.
ITOS function means Integer TO String. There is nothing beyond the integer (left of decimal point) to convert to the string.
There have been may requests for a FTOS function, Floating TO String.
Any numeric value can be converted to a string with a few lines in a relation.
Changing a string to any numeric value, wither integer or floating, is very complex and maybe too complicated for relations. Please explain your rational and use case for needing such a function. IF PTC expands their number/string conversion code, it should cover all cases.
We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.
You can always post a new idea with all the details required in the form.
Thank you for your participation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.