首页 新闻 赞助 找找看
2
回答数

待解决问题 Java数字类型数据转换异常?

String userId= "1095185405620432897.002"; Long l = new Double(userId).longValue();// 这里是将字符串转Double,