0

我必须存储这个值。但是 Eclipse 显示错误。

private final long cal_To_eV = 26131952998320000000L;

请告诉我如何存储这个。

4

2 回答 2

6

看看课堂BigInteger

于 2013-09-13T10:53:56.923 回答
1

你可以使用Stringlong。您也可以使用BigIntegerBigDouble

private final BigInteger cal_To_eV = new BigInteger("26131952998320000000");
于 2013-09-13T10:58:56.177 回答