SplitScript reference / Migration / Floating-point ceiling
Floating-point ceiling
Migration from C#
Source pattern
Look for the C# concept Floating-point ceiling 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.ceil() with an explicit f32 or f64 boundary; review C# decimal inputs separately.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
- Float.ceil (standard library)