随笔分类 - 类型转换
摘要:org.springframework.data.redis.serializer.SerializationException: Could not read JSON: Unrecognized token 'tom': was expecting 'null', 'true', 'false'
阅读全文
摘要:String转换为BigDouble //第一种方法 String s = "20.2"; BigDecimal bigDecimal = new BigDecimal(s); System.out.println("第一种方法:"+bigDecimal); //第二种方法 BigDecimal b
阅读全文