当前位置:网站首页>Get the list of a column in phpexcel get the letters of a column
Get the list of a column in phpexcel get the letters of a column
2022-07-01 09:19:00 【What about your long love~】
function get_zimu($index, $start = 65)
{
$str = '';
if (floor($index / 26) > 0){
$str .= get_zimu(floor($index / 26) - 1);
}
return $str . chr($index % 26 + $start);
}
test
get_zimu('1') #A
get_zimu('27') #AB
边栏推荐
- [ESP nanny level tutorial] crazy completion chapter - Case: ws2812 light control system based on Alibaba cloud, applet and Arduino
- 微信小程序 webview 禁止页面滚动,同时又不影响业务内overflow的滚动的实现方式
- Why is the Ltd independent station a Web3.0 website!
- 计网01-物理层
- Summary of reptile knowledge points
- 【pytorch】nn. Crossentropyloss() and nn NLLLoss()
- Principle and application of single chip microcomputer timer, serial communication and interrupt system
- 【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于物联网的GY906红外测温门禁刷卡系统
- ES6-const本质与完全不可改实现(Object.freeze)
- Learning practice: comprehensive application of cycle and branch structure (II)
猜你喜欢

樹結構---二叉樹2非遞歸遍曆
![[pytorch] 2.4 convolution function nn conv2d](/img/eb/382a00af5f88d5954f10ea76343d6e.png)
[pytorch] 2.4 convolution function nn conv2d

Error org apache. catalina. core. StandardContext. FilterStart start filter exception
![[pytorch] softmax function](/img/97/b8ae22e8496a77e665d716cb0e9ee3.png)
[pytorch] softmax function

【pytorch】softmax函数

Bird recognition app

NoSQL数据库的安装和使用

Mise en œuvre simple de l'équilibrage de la charge par nacos

集成积木报表报错 org.apache.catalina.core.StandardContext.filterStart 启动过滤器异常

Tree structure -- binary tree 2 non recursive traversal
随机推荐
Yidian Yidong helps enterprises to efficiently manage equipment and improve equipment utilization
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于物联网的GY906红外测温门禁刷卡系统
How to manage fixed assets well? Easy to point and move to provide intelligent solutions
树结构---二叉树1
Learning practice: comprehensive application of cycle and branch structure (II)
js重写自己的函数
phpexcel 里 获取某一列的列表 获取某一列的字母
Leetcode daily question brushing record --540 A single element in an ordered array
Shell script -while loop explanation
Niuke monthly race 22- collect pieces of paper
[video game training] real topic of 2013 video game of infrared optical communication device
Why is the Ltd independent station a Web3.0 website!
The fixed assets management system enables enterprises to dynamically master assets
JS functionarguments object
Which method is good for the management of fixed assets of small and medium-sized enterprises?
Jetson Nano 安装TensorFlow GPU及问题解决
pcl_viewer命令
Shell script - definition, assignment and deletion of variables
ES6 const essence and completely immutable implementation (object.free)
2.4 激活函数