返回顶部
摘要: trunc(number)的用法一般有以下几种: trunc(55.5,-1) = 50; //-1(负数)表示从小数点左边第一位截取后面全置为零; trunc(55.55,1) = 55.5; //1(正数)表示小数点后面保留一位; trunc(55.55) = 55; //截取整数部分; 阅读全文
posted @ 2020-09-01 17:26 fen斗 阅读(321) 评论(0) 推荐(0) 编辑
摘要: ~ 这个符号表示你的家目录,.bash_profile 是一个隐藏的配置文件,主要是用来配置bash shell的,source ~/.bash_profile 就是让这个配置文件在修改后立即生效。https://www.cnblogs.com/ExMan/p/9118260.html 阅读全文
posted @ 2020-09-01 17:23 fen斗 阅读(5835) 评论(0) 推荐(0) 编辑