Translation

03100500.xhp par_id811638383475418 help.text
English kj6xg
Context English Estonian Actions
03100300.xhp
par_id3148947
help.text
CDate (Expression) CDate (Expression)
03100300.xhp
hd_id3148552
help.text
Return value: Tagastusväärtus:
03100300.xhp
par_id3150359
help.text
<emph>Expression:</emph> Any string or numeric expression that you want to convert. <emph>Avaldis</emph>: suvaline string- või arvavaldis, mida soovid teisendada.
03100300.xhp
par_id3125864
help.text
When you convert a string expression, the date and time must be entered either in one of the date acceptance patterns defined for your locale setting (see <switchinline select="sys"><caseinline select="MAC"><menuitem>%PRODUCTNAME - Preferences</menuitem></caseinline><defaultinline><menuitem>Tools - Options</menuitem></defaultinline></switchinline><menuitem> - Language Settings - Languages</menuitem>) or in ISO date format (momentarily, only the ISO format with hyphens, e.g. "2012-12-31" is accepted). In numeric expressions, values to the left of the decimal represent the date, beginning from December 31, 1899. Values to the right of the decimal represent the time.
03100400.xhp
tit
help.text
CDbl Function CDbl funktsioon
03100400.xhp
bm_id3153750
help.text
<bookmark_value>CDbl function</bookmark_value> <bookmark_value>CDbl funktsioon</bookmark_value>
03100400.xhp
hd_id3153750
help.text
<link href="text/sbasic/shared/03100400.xhp" name="CDbl Function">CDbl Function</link> <link href="text/sbasic/shared/03100400.xhp" name="CDbl Function">CDbl funktsioon</link>
03100400.xhp
par_id3149233
help.text
Converts any numerical expression or string expression to a double type. Teisendab suvalise arv- või stringavaldise tüübi topelttäpsusega reaalarvuks.
03100400.xhp
par_id3156152
help.text
CDbl (Expression As Variant) As Double
03100500.xhp
tit
help.text
CInt Function CInt funktsioon
03100500.xhp
bm_id3149346
help.text
<bookmark_value>CInt function</bookmark_value> <bookmark_value>CInt funktsioon</bookmark_value>
03100500.xhp
hd_id3149346
help.text
<link href="text/sbasic/shared/03100500.xhp" name="CInt Function">CInt Function</link> <link href="text/sbasic/shared/03100500.xhp" name="CInt Function">CInt funktsioon</link>
03100500.xhp
par_id3155419
help.text
Converts any string or numeric expression to an integer. Teisendab suvalise stringi või arvavaldise täisarvuks.
03100500.xhp
par_id3154142
help.text
CInt (Expression As Variant) As Integer
03100500.xhp
par_id3159416
help.text
If the argument is string, the function trims the leading white space; then it tries to recognize a number in following characters. The syntax below are recognized:
03100500.xhp
par_id811638383475418
help.text
Decimal numbers (with optional leading sign) using decimal and group separators of locale configured in $[officename] (group separators are accepted in any position), with optional exponential notation like "-12e+1" (where an optionally signed whole decimal number after e or E or d or D defines power of 10);
03100500.xhp
par_id361638383494362
help.text
Octal numbers like "&Onnn...", where "nnn..." after "&O" or "&o" is sequence no longer than 11 digits, from 0 to 7, up to the next non-alphanumeric character;
03100500.xhp
par_id91638383518862
help.text
Hexadecimal numbers like "&Hnnn...", where "nnn..." after "&H" or "&h" is sequence of characters up to the next non-alphanumeric character, and must be no longer than 8 digits, from 0 to 9, A to F, or a to f.
03100500.xhp
par_id61638383582794
help.text
The rest of the string is ignored. If the string is not recognized, e.g. when after trimming leading whitespace it doesn't start with plus, minus, a decimal digit, or "&", or when the sequence after "&O" is longer than 11 characters or contains an alphabetic character, the numeric value of expression is 0.
03100500.xhp
par_id3159417
help.text
If the argument is an error, the error number is used as numeric value of the expression.
03100500.xhp
par_id3159418
help.text
If the argument is a date, number of days since 1899-12-30 (serial date) is used as numeric value of the expression. Time is represented as fraction of a day.
03100500.xhp
par_id3150358
help.text
After calculating the numeric value of the expression, it is rounded to the nearest integer (if needed), and if the result is not between -32768 and 32767, $[officename] Basic reports an overflow error. Otherwise, the result is returned.
03100600.xhp
tit
help.text
CLng Function CLng funktsioon
03100600.xhp
bm_id3153311
help.text
<bookmark_value>CLng function</bookmark_value> <bookmark_value>CLng funktsioon</bookmark_value>
03100600.xhp
hd_id3153311
help.text
<link href="text/sbasic/shared/03100600.xhp" name="CLng Function">CLng Function</link> <link href="text/sbasic/shared/03100600.xhp" name="CLng Function">CLng funktsioon</link>
03100600.xhp
par_id3148686
help.text
Converts any string or numeric expression to a long integer. Teisendab stringi või arvavaldise pikaks täisarvuks.
03100600.xhp
par_id3147573
help.text
CLng (Expression As Variant) As Long
03100600.xhp
par_id3159414
help.text
If <literal>Expression</literal> lies outside the valid long integer range between -2.147.483.648 and 2.147.483.647, $[officename] Basic returns an overflow error.
03100600.xhp
par_id3150358
help.text
This function always rounds the fractional part of a number to the nearest integer. See funktsioon teisendab arvu murruosa lähima täisarvuni.
03100700.xhp
tit
help.text
Const Statement Const lause
03100700.xhp
bm_id3146958
help.text
<bookmark_value>Const statement</bookmark_value> <bookmark_value>Const lause</bookmark_value>

Loading…

No matching activity found.
Browse all component changes

Glossary

English Estonian
LIKE LibreOffice UI - master

String information

Context
03100500.xhp
par_id811638383475418
help.text
Source string description
kj6xg
Source string location
03100500.xhp
String age
11 months ago
Source string age
11 months ago
Translation file
et/helpcontent2/source/text/sbasic/shared.po, string 2768