# データ型変換変数

データ型変換変数はシステムによって定義されます。変数はロード スクリプトの最上部に含まれており、スクリプトを実行する際に数値の書式設定を適用します。データ型変換変数は、削除や編集、複製が可能です。

データ型変換変数は、新しいアプリが作成されるときに、オペレーティング システムの現在の地域設定に従って自動的に生成されます。Qlik Sense Desktop では、コンピューターのオペレーティング システムの設定に従います。Qlik Sense では、Qlik Sense がインストールされているサーバーのオペレーティング システムに従います。アクセスしている Qlik Sense サーバーがスウェーデンに設定されてい場合、データ ロード エディタは、日付、時間、および通貨にスウェーデンの地域設定を使用します。これらの地域の書式設定は、Qlik Sense ユーザー インターフェースに表示される言語とは関係ありません。Qlik Sense は使用しているブラウザと同じ言語で表示されます。

## 通貨書式

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### MoneyDecimalSep

定義した小数点記号が地域設定によって設定された通貨の小数点記号の代わりに使用されます。

[**MoneyDecimalSep**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MoneyDecimalSep.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### MoneyFormat

定義した記号が地域設定によって設定された通貨記号の代わりに使用されます。

[**MoneyFormat**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MoneyFormat.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### MoneyThousandSep

定義した桁区切り記号が地域設定によって設定された通貨の桁区切り記号の代わりに使用されます。

[**MoneyThousandSep**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MoneyThousandSep.htm)

## 数値書式

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### DecimalSep

定義した小数点記号が地域設定によって設定された小数点記号の代わりに使用されます。

[**DecimalSep**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/DecimalSep.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### ThousandSep

定義した桁区切り記号がオペレーティング システム (地域設定) の桁区切り記号の代わりに使用されます。

[**ThousandSep**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/ThousandSep.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### NumericalAbbreviation

数値の省略形を使用して、数字のスケール プレフィックスに使用する省略形を設定します。例えば、メガや 100 万 (106) には M、^6^マイクロ (10-6) には µ^-6^).

[**NumericalAbbreviation**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/NumericalAbbreviation.htm)

## 時間書式

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### DateFormat

この環境変数は、アプリで既定として使用される日付書式を定義します。この書式は、日付の解釈と書式化の両方に使用されます。この変数が定義されていない場合、スクリプトの実行時にオペレーティング システムの地域設定の日付書式が取得されます。

[**DateFormat**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/DateFormat.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### TimeFormat

定義した書式がオペレーティング システム (地域設定) の時刻書式の代わりに使用されます。

[**TimeFormat**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/TimeFormat.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### TimestampFormat

定義した書式がオペレーティング システム (地域設定) の日付と時刻の書式の代わりに使用されます。

[**TimestampFormat**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/TimestampFormat.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### MonthNames

定義した書式が地域設定の月名の表記規則の代わりに使用されます。

[**MonthNames**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MonthNames.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### LongMonthNames

定義した書式が地域設定の長い月名の表記規則の代わりに使用されます。

[**LongMonthNames**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/LongMonthNames.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### DayNames

定義した書式が地域設定によって設定された 曜日表記規則の代わりに使用されます。

[**DayNames**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/DayNames.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### LongDayNames

定義した書式が地域設定の長い曜日名の表記規則の代わりに使用されます。

[**LongDayNames**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/LongDayNames.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### FirstWeekDay

週の最初として使用する曜日を定義する整数です。

[**FirstWeekDay**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/FirstWeekDay.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### BrokenWeeks

この設定は、週が分離しているかどうかを定義します。

[**BrokenWeeks**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/BrokenWeeks.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### ReferenceDay

この設定は、週 1 を定義する際に 1 月 のどの曜日を参照に設定するかを定義します。

[**ReferenceDay**](https://help.qlik.com/ja-JP/sense/May2025/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/ReferenceDay.htm)

[](https://help.qlik.com/en-US/sense/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm)

#### FirstMonthOfYear

この設定は、年の最初の月をどれにするかを定義し、毎月のオフセットを使用する財務年度を定義するために使用できます (例: 4 月 1 日から開始するなど)。

情報メモこの設定は現在使用されていませんが、将来使用する目的で予約されています。

有効有効な設定は、1 (1 月) から 12 (12 月) です。デフォルト設定は 1 です。

構文:

FirstMonthOfYear

`Set FirstMonthOfYear=4; //Sets the year to start in April`