自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 multiply()、setScale()

multiply()BigInteger n1,n2,n;n1 = new BigInteger(“6”);n2 = new BigInteger(“10”);n = n1.multiply(n2);// n = 6 * 10 =60其值是 (this * val)new BigDecimal(“2.224667”).setScale(2)保留两位小数,默认四舍五入。//2.22new BigDecimal(“2.224667”).setScale(2, BigDecimal.ROUND_

2020-12-10 14:49:08 2672

原创 oracle创建表时设置主键id为uuid

CREATE TABLE USER(ID VARCHAR(32) DEFAULT SYS_GUID() PRIMARY KEY,NAME VARCHAR2(20))

2020-11-30 14:58:55 1728 1

转载 TimeUnit

单位:TimeUnit.DAYS //天TimeUnit.HOURS //小时TimeUnit.MINUTES //分钟TimeUnit.SECONDS //秒TimeUnit.MILLISECONDS //毫秒转换:public long toMillis(long d) //转化成毫秒public long toSeconds(long d) //转化成秒public long toMinutes(long d) /

2020-11-27 10:12:47 144

原创 设置字符串位数,不足位数补0

System.out.println(String.format("%09d", Long.parseLong("1234"))); System.out.println(String.format("%09d", Long.parseLong("12345"))); System.out.println(String.format("%09d", Long.parseLong("123456")));

2020-06-20 19:54:06 1849

原创 Error:Android Dex: [001terminalPlatformPAAS] Unable to execute DX

Error:Android Dex: [001terminalPlatformPAAS] Unable to execute DX1、勾中选项后Apply2、.idea目录中的AndroidDexCompiler.xml文件,option的value必须是true改完之后Rebuild project,没有报错了

2020-06-20 19:53:26 161

原创 oracle整理

oracle整理¥¥ 查看已经创建好的表空间:select default_tablespace, temporary_tablespace, d.username from dba_users d ;¥¥ 创建表空间create tablespace db_test datafile ‘D:\oracle\product\10.2.0\userdata\db_test.dbf’ size 50m autoextend on;¥¥ 查看用户select * from dba_users;¥¥

2020-06-03 10:15:42 132

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除