[ バージョン ] ドロップダウン リストを使用してサービスを切り替えます。 ナビゲーションの詳細を確認します。
適用対象: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
ボリューム値を 1 つの単位から別の単位に変換します。
構文
convert_volume(
value,from,宛先)
構文規則について詳しく知る。
パラメーター
| 件名 | タイプ | 必須 | 説明 |
|---|---|---|---|
| 価値 | real |
✔️ | 変換する値。 |
| フロム | string |
✔️ | 換算される単位。 使用可能な値については、「 変換単位」を参照してください。 |
| 宛先 | string |
✔️ | 換算する単位。 使用可能な値については、「 変換単位」を参照してください。 |
変換単位
- エーカー・フィート
- AuTablespoon
- BoardFoot
- センチリットル
- キュービックセンチメーター
- CubicDecimeter
- キュービックフィート
- CubicHectometer
- キュービックインチ
- 立方キロメートル
- キュービックメーター
- CubicMicrometer
- キュービックマイル
- CubicMillimeter
- キュービックヤード
- デカリットル
- DecausGallon
- デカリッター
- DeciusGallon
- HectocubicFoot
- HectocubicMeter
- ヘクトメーター
- HectousGallon
- ImperialBeerBarrel
- ImperialGallon
- ImperialOunce
- ImperialPint
- KilocubicFoot
- KilocubicMeter
- KiloimperialGallon
- キロリットル
- KilousGallon
- リットル
- MegacubicFoot
- MegaimperialGallon
- メガリットル
- MegausGallon
- MetricCup
- MetricTeaspoon
- マイクロリットル
- ミリリットル
- OilBarrel
- UkTablespoon
- UsBeerBarrel
- UsCustomaryCup
- UsGallon
- UsLegalCup
- UsOunce
- UsPint
- UsQuart
- UsTablespoon
- UsTeaspoon
返品
ボリューム単位間で変換された入力値を返します。 無効な単位は nullを返します。
例示
次の例では、 convert_volume() 関数の使用方法を示します。
print result = convert_volume(1.2, 'CubicMeter', 'AcreFoot')
出力
| 結果 |
|---|
| 0.0009728568 |