All,
I have a code which generates strings with info from a telnet socket.
This part is working.
I have as string with a "number" in it, for example 201.
Now in real lieve this value is 20.1 , so I need to add a decimal to it.
2 options:
- Can I convert the string to a double, float... ?
- Can I add a decimal to the string ? 201 -> 20.1 ?
I have a code which generates strings with info from a telnet socket.
This part is working.
I have as string with a "number" in it, for example 201.
Now in real lieve this value is 20.1 , so I need to add a decimal to it.
2 options:
- Can I convert the string to a double, float... ?
- Can I add a decimal to the string ? 201 -> 20.1 ?