# -*- coding: utf-8 -*-
# author: ysoftman
# python version : 2.x 3.x
# desc : sting <--> int test

strNum = "12345678"
print(strNum)

# str -> int
intNum = int(strNum)
print(intNum - 1)

# str -> float
floatNum = float(strNum)
print(floatNum - 1)

# int -> str
inNum = 99999
strNum = str(intNum)
print(strNum + " is sting")
