如何将String转换为int [英] how to convert String to int

查看:133
本文介绍了如何将String转换为int的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai,


我想将String转换为int.My编码是这样的,

hai,

I want to convert String to int.My coding is like this,

展开 | 选择 | Wrap | 行号

推荐答案


hai,


我想将String转换为int。我的编码是这样的,

hai,

I want to convert String to int.My coding is like this,

展开 | 选择 | Wrap | 行号



如果你想要ASCII值:
If you want the ASCII value:
展开 | 选择 | Wrap | 行号



看他不是在寻找ASCII值。

他想转换成数字。
Look He is not Looking for ASCII Value.
He wants to convert into Number.



在这种情况下,输出是什么

In that case, what output does

展开 | 选择 | Wrap | 行号


这篇关于如何将String转换为int的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆