选择题:有一个不定长度的String,其中前面是字母,后边是数字,例如:"abcd123.456", 要求写一个方法得到

  • 题目分类:计算机类
  • 题目类型:选择题
  • 查看权限:VIP
题目内容:
有一个不定长度的String,其中前面是字母,后边是数字,例如:"abcd123.456",

要求写一个方法得到其中的数字以String的形式返回,数字保留小数点后两位,不四舍五入,截去多余小

数,例如:"abcd123.456",得到"123.45"

如果数字没有小数点,要得到两位为0的小数,例如:"abcd123",得到"123.00".




参考答案:

我国个人所得税的税率类型是( )A.全额累进税率和比例税率相结合B.全额累进税率 C.超

我国个人所得税的税率类型是( )A.全额累进税率和比例税率相结合B.全额累进税率 C.超

查看答案

共用题干

共用题干 Some Unusual CelebrationsSome holidays are well-known all around the world.Among them are New Year's Eve celebrations. Also common are days in honor of love and friendship,like Valentine's Day. Each country has its own special holidays, too,often to

查看答案

中国人民银行首要的和直接的货币政策目标是( )A.保持货币币值的稳定B.促进经济增长 C

中国人民银行首要的和直接的货币政策目标是( )A.保持货币币值的稳定B.促进经济增长 C

查看答案

共用题干

共用题干 Animal's"Sixth Sense" A tsunami was triggered by an earthquake in the Indian Ocean in December,2004.It killed tens of thousands of people in Asia and East Africa.Wild animals,______(51),seem to have escaped that terrible tsunami."This phenomenon add

查看答案