convert_force
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Convert a force value from one unit to another.
Syntax
convert_force(
value,
from,
to)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
value | real |
✔️ | The value to be converted. |
from | string |
✔️ | The unit to convert from. For possible values, see Conversion units. |
to | string |
✔️ | The unit to convert to. For possible values, see Conversion units. |
Conversion units
- Decanewton
- Dyn
- KilogramForce
- Kilonewton
- KiloPond
- KilopoundForce
- Meganewton
- Micronewton
- Millinewton
- Newton
- OunceForce
- Poundal
- PoundForce
- ShortTonForce
- TonneForce
Returns
Returns the input value converted from one force unit to another. Invalid units return null
.
Example
print result = convert_force(1.2, 'Newton', 'Decanewton')
Output
result |
---|
0.12 |