13

Markdown向上取整和向下取整

 4 years ago
source link: http://www.banbeichadexiaojiubei.com/index.php/2020/12/20/markdown%e5%90%91%e4%b8%8a%e5%8f%96%e6%95%b4%e5%92%8c%e5%90%91%e4%b8%8b%e5%8f%96%e6%95%b4/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
2020年12月20日2020年12月20日 | by YoungTimes | No comments

Markdown向上取整和向下取整

1.向上取整 – \lceil 和 \rceil

⌈x2⌉
Markdown语法:\lceil \frac{x}{2} \rceil

2. 向下取整 – \lfloor和\rfloor

⌊x⌋
Markdown语法:\lfloor x \rfloor

除非注明,否则均为[半杯茶的小酒杯]原创文章,转载必须以链接形式标明本文链接

本文链接:http://www.banbeichadexiaojiubei.com/index.php/2020/12/20/markdown%e5%90%91%e4%b8%8a%e5%8f%96%e6%95%b4%e5%92%8c%e5%90%91%e4%b8%8b%e5%8f%96%e6%95%b4/


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK