Write a beautiful dissertation (from Wloo) in LaTeXHave always felt the need to write such an article, because the degree paper from the format is more like a book, and the composition of the article is different, not only more than the contents of
title: Arabic numerals to Roman numeralsGiven an integer, convert it to a Roman numeral.Input is guaranteed to being within the range from 1 to 3999.Original title link address: https://leetcode.com/problems/integer-to-roman/Analysis: Test
Mode 1//set Cookiefunction setcookie (name, value)//two parameters, one is the name of the cookie, one is the value { var days = 30;//This cookie will be saved for 30 day var E XP = new Date (); New Date ("December, 9998"); Exp.settime
Needless to say, in the vim of the expression has been very widely used. In the most commonly used/and: s commands, regular expressions are essential. The following is a description of some of the difficulties of regular expressions in vim.About
Go from blog http://qianjigui.javaeye.com/blog/368449Needless to say, in the vim of the expression has been very widely used. In the most commonly used/and: s commands, regular expressions are essential. The following is a description of some of the
The occasional encounter in the work of the need to convert the amount of renminbi, that is, Arabic numerals into uppercase characters, the following is the author's practice summed up the method, and hereby record to prevent the memo.
Class
Word-wrap controls the line feed. Optional values: word-wrap: break-word | normal | break-all | keep-allBreak-word: it is mainly used to control whether to forcibly wrap words. It has no problem with Chinese and English, but is invalid for long
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
//
Add to class definition
Private
Static
String
[] CSTR
=
{
"
Zero
"
,
"
Yi
"
,
"
II.
"
,
"
Create procedure ATOC
@ Changemoney money
As
Set nocount on
Declare @ string1 char (20)
Declare @ string2 char (30)
Declare @ string4 varchar (100)
Declare @ string3 varchar (100) -- value retrieved from the original a value
Declare @ I int --
Static string converttochinese (Double X) {string S = x. tostring ("# L # e # D # C # K # e # D # C # J # e # D # C # I # e # D # C # h # e # d # C # G # e # D # C # F # e # D # C #. 0b0a "); string d = RegEx. replace (S ,@"((?
To turn numbers into Chinese charactersWrote one of his own
function Number2chinese ($num, $m = 1) {
Switch ($m) {
Case 0:
$CNum = Array (
Array (' 0 ', ' one ', ' II ', ' three ', ' establishments ', ' Wu ', ' Lu ', '
If you want to use the conversion of the amount, the processing of the decimal part should be modified
function Ch_num ($num, $mode =true) {
$char = Array ("0", "one", "II", "three", "the", "WU", "Lu", "Qi", "ba", "JIU");
$DW = Array ("", "Pick", "
Create Procedure ATOC
@ChangeMoney Money
As
Set Nocount on
Declare @String1 Char (20)
Declare @String2 Char (30)
Declare @String4 Varchar (100)
Declare @String3 Varchar (100)--value removed from the original a value
Declare @i INT--loop
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.