Covert a numbers list (pulled from excel) first into integer then string

13 Views Asked by At

How to covert each number in excel into integer and then string in one go.

Here is the variable token which pulls numbers from excel. When I print it, it shows .0 at the end of the number. I want to first covert then numbers into integer then string. Please help.

token = livefeed.range('d2').expand("down").value

for example to covert one cell into integer then string the forumla used is

token = (str(int(livefeed.range('d2').value))

I have tried token = str(int(livefeed.range('d2').expand("down").value)), but could not resolve it.

0

There are 0 best solutions below