summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03080401.xhp
blob: 229edef583eeb090c4f655640627be0118953d27 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->

<meta>
  <topic id="textsbasicshared03080401xml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Sqr Function</title>
    <filename>/text/sbasic/shared/03080401.xhp</filename>
  </topic>
</meta>

<body>


<section id="sqr">
<bookmark xml-lang="en-US" branch="index" id="bm_id3156027">
  <bookmark_value>Sqr function</bookmark_value>
</bookmark>


<paragraph id="hd_id3156027" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03080401.xhp" name="Sqr Function">Sqr Function</link></paragraph>
<paragraph id="par_id3147226" role="paragraph" xml-lang="en-US">Calculates the square root of a numeric expression.</paragraph>
</section>

<paragraph id="hd_id3143267" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph>
<bascode>
<paragraph id="par_id3149415" role="bascode" xml-lang="en-US">Sqr (Number)</paragraph>
</bascode>

<paragraph id="hd_id3156023" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
<paragraph id="par_id3156343" role="paragraph" xml-lang="en-US">Double</paragraph>

<paragraph id="hd_id3147265" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3149457" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the square root for.</paragraph>
<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US">A square root is the number that you multiply by itself to produce another number, for example, the square root of 36 is 6.</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
<embed href="text/sbasic/shared/00000003.xhp#err5"/>

<paragraph id="hd_id3153192" role="heading" level="2" xml-lang="en-US">Example:</paragraph>
<bascode>
<paragraph id="par_idm1341602560" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSqr</paragraph>
<paragraph id="par_idm1341601328" role="bascode" localize="false" xml-lang="en-US">Dim iVar As Single</paragraph>
<paragraph id="par_idm1341600096" role="bascode" localize="false" xml-lang="en-US">    iVar = 36</paragraph>
<paragraph id="par_idm1341598864" role="bascode" localize="false" xml-lang="en-US">    MsgBox Sqr(iVar)</paragraph>
<paragraph id="par_idm1341597632" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>

</helpdocument>
ibreoffice-24-8-6'>libreoffice-24-8-6 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FDriver.cxx
AgeCommit message (Expand)Author
2025-03-05improve type safety in file::OFileDriverNoel Grandin
2024-05-07loplugin:ostr in connectivityNoel Grandin
2024-05-05use [[noreturn]] for these throw helpersCaolán McNamara
2022-06-13clang-tidy modernize-pass-by-value in connectivityNoel Grandin
2021-09-15Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 1Mike Kaganski
2021-09-12Simplify OFileDriver::getDataDefinitionByConnectionMike Kaganski
2021-06-03Simplify some initializations in connectivity (2)Julien Nabet
2021-05-17Simplify some initializations in connectivityJulien Nabet
2021-05-14Directly initialize vector in connectivity (part 2)Julien Nabet
2021-02-22loplugin:refcounting in connectivityNoel
2021-02-09loplugin:referencecasting check for Reference::queryNoel
2020-07-11connectivity: create instances with uno constructorsNoel Grandin
2020-01-14tdf#42949 Fix IWYU warnings in connectivity/*/*cxxGabor Kelemen
2019-09-06tdf#39593 use isUnoTunnelIdArkadiy Illarionov
2019-08-17tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorJulien Nabet
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): connectivityStephan Bergmann
2019-05-22New loplugin:dataStephan Bergmann
2018-09-06loplugin:simplifyconstruct in canvas..cuiNoel Grandin
2018-01-26Modernize a bit connectivity (part1)Julien Nabet
2017-10-23loplugin:includeform: connectivityStephan Bergmann
2017-07-21migrate to boost::gettextCaolán McNamara
2017-02-15Drop :: prefix from std in c*/Tor Lillqvist
2017-01-31teach lolugin:stringconstant about calling constructorsNoel Grandin
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2016-05-30com::sun::star->css in connectivityNoel Grandin
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
2016-03-28Use const_iterator when possible (connectivity)Julien Nabet
2016-02-09Remove excess newlinesChris Sherlock
2015-12-23loplugin:unusedfields in connectivityNoel Grandin
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2014-10-03loplugin: cstylecastNoel Grandin
2014-06-04connectivity: fix includesThomas Arnhold
2014-05-13fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFONoel Grandin
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
2014-02-23Remove unneccessary commentsAlexander Wilms
2013-11-11remove unnecessary use of OUString constructor in CONNECTIVITY moduleNoel Grandin
2013-10-09fdo#54938: Adapt connectivity module to use cppu::supportsServiceMarcos Paulo de Souza
2013-06-17fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan
2013-05-22fdo#46808, Convert XMultiServiceFactory to XComponentContextNoel Grandin
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-03-08make use of startsWith()Thomas Arnhold