当前位置:网站首页>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
边栏推荐
- Niuke monthly race 22- collect pieces of paper
- JS functionarguments object
- An overview of the design of royalties and service fees of mainstream NFT market platforms
- [ESP nanny level tutorial] crazy completion chapter - Case: ws2812 light control system based on Alibaba cloud, applet and Arduino
- SDN_简单总结
- Bird recognition app
- Latex插入的eps图片模糊解决方法
- 2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data
- tensorrt yolov5_ trt. Py comments
- ES6 const essence and completely immutable implementation (object.free)
猜你喜欢

Mysql 优化

2.2 【pytorch】torchvision. transforms
![[interview brush 101] linked list](/img/52/d159bc66c0dbc44c1282a96cf6b2fd.png)
[interview brush 101] linked list

Pain points and solutions of equipment management in large factories

Jetson Nano 安装TensorFlow GPU及问题解决

Football and basketball game score live broadcast platform source code /app development and construction project

MySQL optimization

【pytorch】2.4 卷积函数 nn.conv2d

【pytorch】softmax函数

How to realize the usage of connecting multiple databases in idel
随机推荐
Shell script - string
An overview of the design of royalties and service fees of mainstream NFT market platforms
树结构---二叉树2非递归遍历
Meituan machine test in 2022
Understanding and implementation of AVL tree
I use flask to write the website "one"
JS prototype chain
2.3 【kaggle数据集 - dog breed 举例】数据预处理、重写Dataset、DataLoader读取数据
Implementation and application of queue
PR training notes
【pytorch学习】torch.device
Databinding source code analysis
2.2 【pytorch】torchvision.transforms
How to manage fixed assets efficiently in one stop?
How to realize the usage of connecting multiple databases in idel
How to effectively align team cognition
JS variable lifting
Tree structure -- binary tree 2 non recursive traversal
Vsync+ triple cache mechanism +choreographer
js原型陷阱