SplitScript reference / Migration / Numeric maximum
Numeric maximum
Migration from C#
Source pattern
Look for the C# concept Numeric maximum 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 left.max(right) after establishing one intended numeric type; review C# implicit conversions and decimal overloads.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
- Numeric.max (standard library)