【问题标题】:How to show this如何显示这个
【发布时间】:2017-03-28 13:25:53
【问题描述】:

我有一个问题。我想为读心者制作一个应用程序。首先,我想给出 1 到 100 的数字,并要求用户记住一个数字。接下来我想显示 1 到 50 和两个按钮是,否。单击是时显示 1 到 25,单击否时显示 50 到 75,依此类推。

【问题讨论】:

标签: android


【解决方案1】:

使用 Biginteger 和 BigDecimal 而不是 int 和 decimal

BigInteger a=new BigInteger(valueA);
BigInteger b=new BigInteger(valueB);
BigInteger c=a.multiply(b);

【讨论】:

  • 请尽快回答我的问题。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-03-12
  • 2020-04-20
  • 2014-07-22
  • 2018-04-08
  • 2013-09-27
  • 2016-10-07
  • 1970-01-01
相关资源
最近更新 更多