# 単位の変換

特定の単位に変換するには、`to`、`in`、または`as`を使用します。

```
10 km in m                    | 10,000 m
5 hours 30 minutes to seconds | 19,800 seconds
100 pounds in kg              | 45.36 kg
```

または、別の方法として：

```
meters in 10 km  | 10,000 m
days in 3 weeks  | 21 days
seconds in a day | 86,400 s
```

{% hint style="success" %}
短縮記法として、値なしの2つの単位名を入力して変換を確認することもできます：

"km m" (= 1,000 m)
{% endhint %}

Soulverは、回答欄で単位のシンボル（正式名称ではなく）を使用します。

回答をコントロールクリックすると、正式な単位名が表示されます

![](/files/pqJsZ5BnnRfG3TiwTD3p)

## 単位に関する注意点

#### **単位とプレーンな数値の混在**

プレーンな数値と単位を混在させる場合、最も近い単位が自動的に使用されます。これは**単位同化**と呼ばれます。

```
300 + 20 km | 320 km
$20 + 30    | $50.00
```

#### **混在単位の加算と減算**

混在する単位タイプで計算を行う場合、**より大きな単位が優先されます**：

```
1km + 1,000m | 2 km
```

単位が共通の基本単位を共有していない場合、**最後に使用された単位が優先されます**：

```
$200 + €200 | €308.84
```

#### **単位の乗算**

Soulverがサポートするのは、数学エンジンで事前に定義された単位のみであり、「存在しない」複合単位はサポートしません：

```
10m × 10m       | 100 m² // area, a supported unit type
3 kg × 3 liters | // Not "9 kg liters", this unit does not exist
```

乗算によってサポートされている単位を作成できない場合、Soulverは暗黙のレートを適用します：

```
$30 × 4 days | $120.00
// the above is interpreted as $30/day × 4 days
```

#### **カスタム単位の作成**

追加の単位は、`Calculator > Custom Units` の設定でSoulverに追加できます。

{% hint style="info" %}
カスタム単位は、既存の単位に基づいて定義されます。

（現時点では）Soulverに新しい単位カテゴリを追加することはできません。
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/ja/rifarensu/units-and-conversions/units.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
