单项选择题

把字符串’1.12’转换成整形型的函数是()

A.int(’1.12’)
B.float(’1.12’)
C.string(’1.12’)
D.set(’1.12’)