数字转英语?4. 在“区域设置(国家/地区)”部分,点击下拉三角按钮,并从展开的列表中选择“英语(美国)”。5. 接下来,在“类型”列表中,选择您想要的日期格式。例如,如果您想要MM/DD/YYYY格式,选择相应的选项。6. 点击“确定”按钮关闭格式设置窗口。7. 现在,在A1单元格中输入数字日期,例如“2016/12/9”,它将自动转换为英文日期格式:“9-Dec-2016”。那么,数字转英语?一起来了解一下吧。
1.新建如图所示的Excel表格,把A列中的数字用英文的形式转换到B列中。
2.按住“Alt+F11”打开VBA编辑器,如图所示。
3. 在VBA编辑器中单击菜单栏“插入”——模块,如图所示。
4.在打开的模块中输入如下代码:
Option Explicit
Function 数字转英文(ByVal MyNumber)
Dim Dollars, Cents, Temp
Dim DecimalPlace, Count
ReDim Place(9) As String
Place(2) = " Thousand "
Place(3) = " Million "
Place(4) = " Billion "
Place(5) = " Trillion "
MyNumber = Trim(Str(MyNumber))
DecimalPlace = InStr(MyNumber, ".")
If DecimalPlace > 0 Then
Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & _
"00", 2))
MyNumber = Trim(Left(MyNumber, DecimalPlace - 1))
End If
Count = 1
Do While MyNumber <> ""
Temp = GetHundreds(Right(MyNumber, 3))
If Temp <> "" Then Dollars = Temp & Place(Count) & Dollars
If Len(MyNumber) > 3 Then
MyNumber = Left(MyNumber, Len(MyNumber) - 3)
Else
MyNumber = ""
End If
Count = Count + 1
Loop
Select Case Dollars
Case ""
Dollars = "No Dollars"
Case "One"
Dollars = "One Dollar"
Case Else
Dollars = Dollars & " Dollars"
End Select
Select Case Cents
Case ""
Cents = " and No Cents"
Case "One"
Cents = " and One Cent"
Case Else
Cents = " and " & Cents & " Cents"
End Select
数字转英文 = Dollars & Cents
End Function
Function GetHundreds(ByVal MyNumber)
Dim Result As String
If Val(MyNumber) = 0 Then Exit Function
MyNumber = Right("000" & MyNumber, 3)
If Mid(MyNumber, 1, 1) <> "0" Then
Result = GetDigit(Mid(MyNumber, 1, 1)) & " Hundred "
End If
If Mid(MyNumber, 2, 1) <> "0" Then
Result = Result & GetTens(Mid(MyNumber, 2))
Else
Result = Result & GetDigit(Mid(MyNumber, 3))
End If
GetHundreds = Result
End Function
Function GetTens(TensText)
Dim Result As String
Result = ""
If Val(Left(TensText, 1)) = 1 Then
Select Case Val(TensText)
Case 10: Result = "Ten"
Case 11: Result = "Eleven"
Case 12: Result = "Twelve"
Case 13: Result = "Thirteen"
Case 14: Result = "Fourteen"
Case 15: Result = "Fifteen"
Case 16: Result = "Sixteen"
Case 17: Result = "Seventeen"
Case 18: Result = "Eighteen"
Case 19: Result = "Nineteen"
Case Else
End Select
Else
Select Case Val(Left(TensText, 1))
Case 2: Result = "Twenty "
Case 3: Result = "Thirty "
Case 4: Result = "Forty "
Case 5: Result = "Fifty "
Case 6: Result = "Sixty "
Case 7: Result = "Seventy "
Case 8: Result = "Eighty "
Case 9: Result = "Ninety "
Case Else
End Select
Result = Result & GetDigit _
(Right(TensText, 1))
End If
GetTens = Result
End Function
Function GetDigit(Digit)
Select Case Val(Digit)
Case 1: GetDigit = "One"
Case 2: GetDigit = "Two"
Case 3: GetDigit = "Three"
Case 4: GetDigit = "Four"
Case 5: GetDigit = "Five"
Case 6: GetDigit = "Six"
Case 7: GetDigit = "Seven"
Case 8: GetDigit = "Eight"
Case 9: GetDigit = "Nine"
Case Else: GetDigit = ""
End Select
End Function
5.调用函数:
现在回到Excel表格中,单击“B1”单元格,在菜单栏选择“插入”——函数。
数字转译为英文时,需要按照特定的规则进行。当数字很大,如亿、万等,通常会用特定的单位来表示,如billion(十亿)、million(百万)、thousand(千)、hundred(百)。
以数字5,237,166,234为例,这个数字可以按照以下步骤转译为英文:首先,从右向左,每三位一组进行划分,即5对应billion、237对应million、166对应thousand、234对应hundred。然后,根据每个组对应的单位,将数字与对应的英文单词结合,最终得到转译结果。
因此,5,237,166,234这个数字可以读作:five billion two hundred and thirty-seven million one hundred and sixty-six thousand two hundred and thirty-four。这个过程就像是将一个复杂的数字分解成几个简单的部分,然后逐一进行翻译和组合。
另一个例子是16,250,064这个数字。同样地,我们将其划分为:sixteen million two hundred and fifty thousand and sixty-four。

在学习英语的过程中,数字的表达是一个基本但重要的部分。将中文数字转换成英文,可以帮助我们更好地理解和记忆。例如,数字26在英语中写作twenty-six,3025写作threethousandandtwenty-five,546写作fivehundredandforty-six。掌握了这些基本的转换方法,我们就可以轻松地在日常对话和写作中使用英文数字。
数字23在英语中是twenty-three,19写作nineteen,33是thirty-three,47写作forty-seven,105写作onehundredandfive,100写作onehundred,12写作twelve,14写作fourteen。这些数字的英文表达,不仅在日常生活中常见,而且在学术和商业交流中也非常重要。
通过练习和记忆这些数字的英文表达,我们可以提高自己的语言能力,更好地适应国际化的环境。例如,当我们需要在英语环境中表达自己的年龄、购物时支付金额、或者在学术论文中引用数据时,正确的数字表达可以避免误解和错误。
此外,学习数字的英文表达还有助于我们理解英语中数字的拼写规则。例如,数字100的英文拼写中,'hundred'后面通常不加's',但在表达一百零几时,如101,102,则需要加's',写作one hundred and one,one hundred and two。

把下面的宏放在模块中,就可以在 Excel 中用.
比如说输入公式: =NumToEng(1234) 会得出: One Thousand Two Hundred Thirty Four
(只能是整数,因为小数涉及到不同单位,不同说法的问题,如元角分)
Function NumToEng(Num)
Num = Int(Num)
Dim Tri(5) As String
Tri(1) = ""
Tri(2) = " Thousand "
Tri(3) = " Million "
Tri(4) = " Billion "
Tri(5) = " Trillion "
NumToEng = ""
Txt = Trim(Str(Num))
Count = 1
Do While Txt <> ""
Tmp = Get000(Num000:=Val(Right(Txt, 3)))
If Tmp <> "" Then NumToEng = Tmp & Tri(Count) & NumToEng
If Len(Txt) > 3 Then Txt = Left(Txt, Len(Txt) - 3) Else Txt = ""
Count = Count + 1
Loop
End Function
Function Get000(Num000 As Integer)
Get000 = ""
Text000 = WorksheetFunction.Text(Num000, "000")
If Left(Text000, 1) <> "0" Then Get000 = Get0(Num0:=Val(Left(Text000, 1))) & " Hundred "
Get000 = Get000 & Get00(Num00:=Val(Right(Text000, 2)))
End Function
Function Get00(Num00 As Integer)
Get00 = ""
Text00 = WorksheetFunction.Text(Num00, "00")
If Val(Left(Text00, 1)) = 1 Then
Select Case Num00
Case 10: Get00 = "Ten"
Case 11: Get00 = "Eleven"
Case 12: Get00 = "Twelve"
Case 13: Get00 = "Thirteen"
Case 14: Get00 = "Fourteen"
Case 15: Get00 = "Fifteen"
Case 16: Get00 = "Sixteen"
Case 17: Get00 = "Seventeen"
Case 18: Get00 = "Eighteen"
Case 19: Get00 = "Nineteen"
Case Else
End Select
Else
Select Case Val(Left(Text00, 1))
Case 2: Get00 = "Twenty "
Case 3: Get00 = "Thirty "
Case 4: Get00 = "Forty "
Case 5: Get00 = "Fifty "
Case 6: Get00 = "Sixty "
Case 7: Get00 = "Seventy "
Case 8: Get00 = "Eighty "
Case 9: Get00 = "Ninety "
Case Else
End Select
Get00 = Get00 & Get0(Num0:=Val(Right(Text00, 1)))
End If
End Function
Function Get0(Num0 As Integer)
Select Case Val(Num0)
Case 1: Get0 = "One"
Case 2: Get0 = "Two"
Case 3: Get0 = "Three"
Case 4: Get0 = "Four"
Case 5: Get0 = "Five"
Case 6: Get0 = "Six"
Case 7: Get0 = "Seven"
Case 8: Get0 = "Eight"
Case 9: Get0 = "Nine"
Case Else: Get0 = ""
End Select
End Function
在英语的26个字母中,有一些可以通过特定的符号或数字来替代,以下是一些常见的例子:
首先,数字0可以用来替换字母'O'和'o'。
字母'I'、'i'和'L',通常用数字1来表示,而'ε'有时也会被用1来代替。
数字3则常被用来代表'E'和'e',有时也会用于表示数学中的变量ε。
字母'A'的一个简化形式是用数字4来表示。
另外,数字5可以代替'S'和's',在某些情况下。
数字6则用来代替字母'b'。
而数字8则常常用来替代大写的'B',小写的'b'通常不使用这种方式替代。
至于数字9,有时在键盘上可能被用来简写字母'g'。
更进一步,我们可以看到数字和字母之间的转换在编程中也有应用,例如在上述的示例代码中,通过将大写字母Z对应为ASCII码值减去64,可以将其转换为数字26,反之亦然。同样,小写字母z可以转换为数字2。
以上就是数字转英语的全部内容,数字转译为英文时,需要按照特定的规则进行。当数字很大,如亿、万等,通常会用特定的单位来表示,如billion(十亿)、million(百万)、thousand(千)、hundred(百)。以数字5,237,166,234为例,这个数字可以按照以下步骤转译为英文:首先,从右向左,每三位一组进行划分,即5对应billion、内容来源于互联网,信息真伪需自行辨别。如有侵权请联系删除。