SplitScript reference / Migration / Signed absolute value

Signed absolute value

Migration from C#

Source pattern

Look for the C# concept Signed absolute value in the source. The semantic difference below is more important than a token-for-token rewrite.

Canonical SplitScript

Use the canonical language and API symbols linked below.

Semantic difference

Use value.abs() after establishing a signed numeric type; review C# signed-minimum overflow, unsigned conversions, and decimal inputs.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.