The Chinese translations for math.ceil and math.floor descriptions in Roblox Studio are currently inaccurate. This may confuse developers.
——Error Details——
-
math.ceil(x:number)
Current Incorrect Translation: 返回小于或等于 x的最小整数 (Returns the smallest integer less than or equal to x)
Correct Translation Should Be: 返回大于或等于x的最小整数 (Returns the smallest integer larger than or equal to x) -
math.floor(x:number)
Current Incorrect Translation: 返回大于或小于 x的最大整数 (Returns the largest integer greater than or less than x)
Correct Translation Should Be: 返回小于或等于x的最大整数 (Returns the largest integer less than or equal to x)
——Screenshot——
——Reproduce——
- Open Roblox Studio
- Access any script editor
- Hover over math.ceil/math.floor in the autocomplete menu
- Observe the tooltip translations
——Request——
Please update the Simplified Chinese localization strings to reflect the accurate mathematical definitions.
Thank you for attention to this localization issue!