- 博客(6)
- 收藏
- 关注
原创 自定义工具类MyMath实现浮点数精准的四舍五入
package Demo; import java.math.BigDecimal; /** * * 实现精准的的四舍五入 *num 要进行四舍五入的数字 *scale 要保留的位数 */ class MyMath{ public static double round(double num,int scale) { BigDecimal bigA=new B...
2019-03-17 13:19:04
446
转载 html字符实体
完整版http://www.runoob.com/tags/ref-entities.html
2019-01-06 00:09:48
209
转载 html十六进制颜色
更多颜色http://www.runoob.com/html/html-colornames.html
2019-01-05 23:56:49
2067
原创 jQuery元素(图片)拖拽代码
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="js/jquery-3.3.1.js"></script> &am
2019-01-03 17:23:48
842
原创 JS实现四位数验证码
var arr=[]; for(var i=65;i<=122;i++){ //利用Unicode获取所有的大小写字母 if(i<91 || i>96){ arr.push(String.fromCharCode(i)); //String.fromCharCode():将Unicode对应的字符转换成字符串并存入数组arr中; } } d...
2019-01-03 17:22:44
2523
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人