Home >Backend Development >PHP Tutorial >Convert numbers to uppercase

Convert numbers to uppercase

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-30 13:31:411069browse

/**
*Convert numbers in php to uppercase numbers
*/
function numToChar($num) {
       $arr = array (                                                                                                                 ,
                                                     ',' 'Five',
'six',
'seven',
'eight',
'nine'
);
$ len = strlen ($ num); $len < 0) {
                                                                              substr ( $num, $i, 1 )];
}
return $return;
}

Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.


The above introduces the conversion of numbers into uppercase, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn