测试充值
parent
459ef26b50
commit
bacd35c48e
|
@ -54,7 +54,9 @@ public class SExchangeRate implements BaseConfig {
|
|||
if (integer == 1) {
|
||||
doubleIntegerHashMap.put(integerSExchangeRateEntry.getValue().getPrice_1(), Double.valueOf((int) field.get(integerSExchangeRateEntry.getValue())));
|
||||
} else {
|
||||
doubleIntegerHashMap.put(integerSExchangeRateEntry.getValue().getPrice_1(),Double.valueOf((float) field.get(integerSExchangeRateEntry.getValue())));
|
||||
float f = (float) field.get(integerSExchangeRateEntry.getValue());
|
||||
double v = Double.parseDouble(Float.toString(f));
|
||||
doubleIntegerHashMap.put(integerSExchangeRateEntry.getValue().getPrice_1(), v);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue