码迷,mamicode.com
首页 >  
搜索关键字:mat    ( 14954个结果
iOS 日期格式
Date的格式总结: G: 公元时代,例如AD公元 yy: 年的后2位 yyyy: 完整年 MM: 月,显示为1-12 MMM: 月,显示为英文月份简写,如 Jan MMMM: 月,显示为英文月份全称,如 Janualy dd: 日,2位数表示,如02 d: 日,1-2位显示,如 2 EEE: 简写 ...
分类:移动开发   时间:2020-07-30 14:28:45    阅读次数:94
JS 四舍五入保留两位小数
var num =2.446242342; num = num.toFixed(2); // 输出结果为 2.45 另外像 round()、floor()、ceil() 等都不能真正的四舍五入,有精度问题。 round() 可以通过以下方式来确保精度是正确的: var num =2.44624234 ...
分类:Web程序   时间:2020-07-30 14:14:37    阅读次数:87
【别贪心】keep-web
首先放下作者大大的github地址:https://github.com/SJanJan/keep-web 接着我们看下项目 //main.js import Vue from 'vue' import App from './App.vue' import '@/styles/reset.scss ...
分类:Web程序   时间:2020-07-30 01:19:24    阅读次数:97
566. Reshape the Matrix
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. ...
分类:其他好文   时间:2020-07-29 15:35:58    阅读次数:76
根据来源编号对明细进行分组 跟库存做对比 用到的技术 list根据某个字段分组 Double Long 比较大小
public R startProcess(@RequestBody ShouldCredentialPayable bean) { System.out.println("应付贷项参数bean "+bean); //开启审批流程之前先验证库存 boolean judge=false; if(nul ...
分类:其他好文   时间:2020-07-29 15:32:49    阅读次数:72
Leetcode.27 | Remove Element(Python)
Leetcode.27 | Remove Element(Python) Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do no ...
分类:编程语言   时间:2020-07-29 14:58:26    阅读次数:82
js body添加元素 带样式
function createStyle(){ return"*{padding:0;margin:0;border:0}.loading{width:640px;height:1024px;margin:0 auto}.loadImg{width:640px;height:1024px;anima ...
分类:Web程序   时间:2020-07-29 12:39:59    阅读次数:206
HDU6799 Parentheses Matching(贪心/括号匹配)
Given a string P consisting of only parentheses and asterisk characters (i.e. "(", ")" and ""), you are asked to replace all the asterisk characters i ...
分类:其他好文   时间:2020-07-29 12:38:40    阅读次数:208
A1105:Spiral Matrix (25)
【螺旋矩阵】三部曲:1、[ 找到 m、n ] 2、[ 开二维数组填充矩阵 ] 3、[ 输出矩阵 ] 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 bool cmp(int a, int b) { return a > b; } 5 6 in ...
分类:其他好文   时间:2020-07-28 22:39:21    阅读次数:70
Web移动端实现自适应缩放界面的方法汇总
方案一: 设置tranform/scale 首先设置内容固定宽度、自动高度(以下举例) width: 375px; height: auto; 通过获取窗口的宽度与固定宽度相除,获得缩放比例 const scaleValue=window.innerWidth / 375 在html层,添加一段sc ...
分类:移动开发   时间:2020-07-28 22:30:53    阅读次数:105
14954条   上一页 1 ... 57 58 59 60 61 ... 1496 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!