General information
Category:
Coding, syntax & commands
Title:
Convert numeric to char
If I had a numeric value of 1.4476, how can I convert this to character and make it look exactly like numeric value ("1.4476"). whenever I do following I get just 1 character rounded up or down:
ct = 1.4476
x = str(ct)
?x &&shows "1"
I need it to show "1.4476"
thanks
Nick Patel
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only