summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/func_asc.xhp
blob: c828efb6653a2c6f83420ccfd209c2c42a5a5c5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->

<meta>
  <topic id="calcfuncasc" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">ASC Function</title>
    <filename>/text/scalc/01/func_asc.xhp</filename>
  </topic>
</meta>
<body>
  <section id="func_asc">
    <bookmark id="bm_id61542230672099" xml-lang="en-US" branch="hid/SC_HID_FUNC_ASC" localize="false"/>
    <bookmark xml-lang="en-US" branch="index" id="bm_id831542233029549">
      <bookmark_value>ASC function</bookmark_value>
      <bookmark_value>text functions;katakana characters</bookmark_value>
    </bookmark>
    <h1 id="hd_id881628776094597"><variable id="Asc_h1"><link href="text/scalc/01/func_asc.xhp" name="function ASC">ASC</link></variable></h1>
    <paragraph id="par_id541542230672101" role="paragraph"><variable id="func_asc_desc"><ahelp hid=".">Converts double-byte (full-width) characters to single-byte (half-width) ASCII and katakana characters.</ahelp></variable></paragraph>
  </section>
  <note id="par_id151634221012221">See <link href="https://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions" name="wiki.documentfoundation.org Calc/Features/JIS and ASC functions">https://wiki.documentfoundation.org/Calc/Features/JIS_and_ASC_functions</link> for a conversion table.</note>
  <embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
  <paragraph role="paragraph" id="par_id701542231253817"><input>ASC(Text)</input></paragraph>
  <paragraph role="paragraph" id="par_id621542232197446"><emph>Text</emph>: the text string that contains characters to be converted.</paragraph>
  <note id="par_id481637763523789">Applying the ASC function to a string composed of single-byte characters will return the input string without any modifications.</note>
  <embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
  <paragraph role="paragraph" id="par_id451628776707264"><input>=ASC("LibreOffice")</input> returns the string "LibreOffice". No modifications were made because all characters are single-byte characters.</paragraph>
  <paragraph role="paragraph" id="par_id101628778036375"><input>=ASC("ライト")</input> returns the string "ライト", which is composed of single-byte characters.</paragraph>

  <section id="relatedtopics">
    <embed href="text/scalc/01/func_jis.xhp#Jis_h1"/>
    <embed href="text/scalc/01/04060110.xhp#head_text"/>
  </section>
</body>
</helpdocument>