# Convert between weight units
> Supported in: Batch, Faster, Streaming
**Expression categories:** Numeric
## Declared arguments
* **Amount of current unit:** *no description*
*Expression\*
* **Current unit:** The unit prior to conversion.
*Enum\*
* **Target unit:** The desired unit after conversion.
*Enum\*
**Output type:** *Double*
## Examples
### Example 1: Base case
**Argument values:**
* **Amount of current unit:** `kilograms`
* **Current unit:** `kilogram`
* **Target unit:** `gram`
| kilograms | **Output** |
| ----- | ----- |
| 5 | 5000.0 |
***
### Example 2: Base case
**Argument values:**
* **Amount of current unit:** `kilograms`
* **Current unit:** `kilogram`
* **Target unit:** `gram`
| kilograms | **Output** |
| ----- | ----- |
| *null* | *null* |
***