/** * 格式化数字 */ public function float_number($number){ $length = strlen($number); //数字长度 if($length > 8){ //亿单位 $str = substr_replace(strstr($number,su ...
分类:
Web程序 时间:
2021-07-28 21:33:14
阅读次数:
0
https://www.cnblogs.com/tibos/p/14958948.html ...
分类:
Web程序 时间:
2021-07-02 16:15:29
阅读次数:
0
LinearLayout layout_gravity:组件在父容器里的对齐方式 gravity:组件包含的所有子元素的对齐方式 layout_weight:在原有基础上分配剩余空间,一般把layout_height都设置为0dp再使用此属性 设置分割线可以用divider属性,或者插入View < ...
分类:
其他好文 时间:
2021-06-30 18:44:14
阅读次数:
0
https://leetcode-cn.com/problems/largest-bst-subtree/ public int largestBSTSubtree(TreeNode root) { return (root == null) ? 0 : getInfo(root).size; } ...
分类:
其他好文 时间:
2021-06-29 15:58:52
阅读次数:
0
1、 rm(list = ls()) dir() for (i in list.files(pattern=".r$")) { source(i) } 2、 rm(list = ls()) dir() for (i in dir()) { if(substr(i,nchar(i)-1,nchar(i ...
分类:
编程语言 时间:
2021-06-29 15:38:29
阅读次数:
0
// CommonTest.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <atlbase.h> #incl ...
分类:
编程语言 时间:
2021-06-28 20:36:02
阅读次数:
0
BigInteger: 对大整数类进行操作,超过long能存储的范围 BigDecimal:对高精度小数进行操作 BigInteger bg = new BigInteger("0"); 初始化 并赋值为0 BigInteger类只能与BigInteger类 进行操作 常用方法: bg.add( ) ...
分类:
其他好文 时间:
2021-06-25 17:05:29
阅读次数:
0
一、简介 1 背景 仓库布局为flying-V型宽道模式,即不考虑拣货小车本身大小,多辆小车可同时在路径上行走。如下图:(约束条件为载重时间窗等,目标为最低成本) 两条主干道,4个区。零部件货物坐标表示为[A,x,y],例如[2,3,5]表示该零部件位于第二区第三排的第五列,存取点坐标例外为[0,0 ...
分类:
编程语言 时间:
2021-06-24 17:58:17
阅读次数:
0
一、TSDB prometheus可以以自定义格式在磁盘上的本地时序数据库TSDB存储时间序列数据。 ./data ├── 01BKGV7JBM69T2G1BGBGM6KB12 │ └── meta.json ├── 01BKGTZQ1SYQJTR4PB43C8PD98 │ ├── chunks │ ...
分类:
数据库 时间:
2021-06-20 18:19:57
阅读次数:
0
一、java集合框架概述 java集合可分为Collection和Map两种体系,其中: 1、Collection接口:单列数据,定义了存取一组对象的方法的集合; List:元素有序、可重复的集合 Set:元素无序,不可重复的集合 2、Map接口:双列数据,保存具有映射关系“key-value对”的 ...
分类:
编程语言 时间:
2021-06-20 17:49:56
阅读次数:
0